Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 216.1 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 283.6 kB / 313.5 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.37/1.37, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003099/0.003099, allocations: 100.3 kB / 0.7403 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2253, allocations: 95.39 MB / 0.8334 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04849/0.2738, allocations: 36.38 MB / 0.8689 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.295, allocations: 11.09 MB / 0.8798 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.2994, allocations: 198.6 kB / 0.88 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.3123, allocations: 4.374 MB / 0.8842 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00883/0.3211, allocations: 2.336 MB / 0.8865 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007948/0.329, allocations: 2.183 MB / 0.8886 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01449/0.3435, allocations: 9.269 MB / 0.8977 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.3579, allocations: 6.399 MB / 0.9039 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008161/0.3661, allocations: 4.133 MB / 0.908 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009629/0.3757, allocations: 4.747 MB / 0.9126 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003289/0.379, allocations: 0.8242 MB / 0.9134 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.3844, allocations: 1.506 MB / 0.9149 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007157/0.3915, allocations: 3.238 MB / 0.9181 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009595/0.4011, allocations: 2.969 MB / 0.921 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.4228, allocations: 12.4 MB / 0.9331 GB, free: 1.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4228, allocations: 0 / 0.9331 GB, free: 1.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4228, allocations: 0 / 0.9331 GB, free: 1.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004939/0.4233, allocations: 3.938 kB / 0.9331 GB, free: 1.906 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01915/0.4424, allocations: 6.403 MB / 0.9393 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4425, allocations: 13.94 kB / 0.9393 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001915/0.4427, allocations: 151.5 kB / 0.9395 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003458/0.4461, allocations: 0.8255 MB / 0.9403 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.4531, allocations: 1.098 MB / 0.9414 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009857/0.4629, allocations: 3.572 MB / 0.9449 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/0.4635, allocations: 423.8 kB / 0.9453 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002937/0.4665, allocations: 0.5471 MB / 0.9458 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02544/0.4919, allocations: 10.28 MB / 0.9558 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.4921, allocations: 23.77 kB / 0.9559 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.4932, allocations: 244 kB / 0.9561 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006177/0.4939, allocations: 426.9 kB / 0.9565 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.51, allocations: 7.123 MB / 0.9634 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4568/0.9668, allocations: 26.26 MB / 0.9891 GB, free: 116.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.9711, allocations: 2.897 MB / 0.9919 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.9738, allocations: 1.929 MB / 0.9938 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.9739, allocations: 22 kB / 0.9938 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.9739, allocations: 63.3 kB / 0.9939 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 5.019e-06/0.9739, allocations: 3.828 kB / 0.9939 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02542/0.9994, allocations: 10.28 MB / 1.004 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.9994, allocations: 73.53 kB / 1.004 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/1.002, allocations: 2.005 MB / 1.006 GB, free: 113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/1.002, allocations: 63.48 kB / 1.006 GB, free: 113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.004, allocations: 2.48 MB / 1.008 GB, free: 111.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/1.005, allocations: 0.7648 MB / 1.009 GB, free: 111 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/1.005, allocations: 478.8 kB / 1.01 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/1.005, allocations: 309.1 kB / 1.01 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/1.007, allocations: 1.371 MB / 1.011 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/1.009, allocations: 2.102 MB / 1.013 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.012, allocations: 3.771 MB / 1.017 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.012, allocations: 3.75 kB / 1.017 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006532/1.019, allocations: 5.027 MB / 1.022 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/1.019, allocations: 23.12 kB / 1.022 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.019, allocations: 22.78 kB / 1.022 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003123/1.022, allocations: 1.585 MB / 1.024 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.024, allocations: 456.6 kB / 1.024 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/1.041, allocations: 17.91 MB / 1.041 GB, free: 85.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.043, allocations: 143.9 kB / 1.042 GB, free: 85.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/1.043, allocations: 112 kB / 1.042 GB, free: 85.14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002524/1.046, allocations: 1.938 MB / 1.044 GB, free: 83.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/1.046, allocations: 306.1 kB / 1.044 GB, free: 82.89 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/1.052, allocations: 4.4 MB / 1.048 GB, free: 78.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.052, allocations: 25.39 kB / 1.048 GB, free: 78.44 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.283e-05/1.052, allocations: 16 kB / 1.048 GB, free: 78.42 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.052, allocations: 7.969 kB / 1.048 GB, free: 78.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.065, allocations: 9.172 MB / 1.057 GB, free: 69.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.065, allocations: 4 kB / 1.057 GB, free: 69.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009009/1.066, allocations: 233.1 kB / 1.057 GB, free: 68.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.069, allocations: 1.42 MB / 1.059 GB, free: 67.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.069, allocations: 40 kB / 1.059 GB, free: 67.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/1.086, allocations: 17.92 MB / 1.076 GB, free: 49.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.086, allocations: 4 kB / 1.076 GB, free: 49.08 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/1.092, allocations: 4.504 MB / 1.081 GB, free: 44.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.094, allocations: 0.5722 MB / 1.081 GB, free: 43.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/1.094, allocations: 44 kB / 1.081 GB, free: 43.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.095, allocations: 111.9 kB / 1.081 GB, free: 43.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/1.096, allocations: 201.2 kB / 1.082 GB, free: 43.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.096, allocations: 60.56 kB / 1.082 GB, free: 43.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001403/1.097, allocations: 1.319 MB / 1.083 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/1.097, allocations: 2.953 kB / 1.083 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003076/1.1, allocations: 1.145 MB / 1.084 GB, free: 41.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005534/1.106, allocations: 5.116 MB / 1.089 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005777/1.112, allocations: 4.544 MB / 1.094 GB, free: 31.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.112, allocations: 8.062 kB / 1.094 GB, free: 31.24 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003634/1.115, allocations: 2.787 MB / 1.096 GB, free: 28.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.119, allocations: 0.9053 MB / 1.097 GB, free: 27.54 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03849/1.157, allocations: 30.56 MB / 1.127 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.162, allocations: 3.163 MB / 1.13 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001815/1.163, allocations: 0.5478 MB / 1.131 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/1.166, allocations: 1.952 MB / 1.133 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.166, allocations: 0 / 1.133 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/1.344, allocations: 91.07 MB / 1.221 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/18.53, allocations: 8 kB / 1.221 GB, free: 12.35 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.695390215027146] Failed to read output from testmodel.py, exit status != 0: 18.759071571053937 18.789271683 18.360478832 Calling exit ...