Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001294/0.001294, allocations: 113 kB / 18.94 MB, free: 2.934 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.001523/0.001523, allocations: 207.5 kB / 22.25 MB, free: 5.082 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 8.008 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.002449/0.002449, allocations: 295.4 kB / 312.7 MB, free: 2.887 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.17/1.17, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",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.002738/0.002738, allocations: 103.6 kB / 0.7396 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1514, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008736/0.1601, allocations: 7.078 MB / 0.8397 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.1652, allocations: 3.219 MB / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.1657, allocations: 39.62 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.1682, allocations: 0.9915 MB / 0.8438 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1693, allocations: 0.5168 MB / 0.8443 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.1703, allocations: 448 kB / 0.8447 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1717, allocations: 1.24 MB / 0.8459 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.1725, allocations: 0.5296 MB / 0.8465 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006945/0.1732, allocations: 494.3 kB / 0.8469 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007836/0.1739, allocations: 0.5564 MB / 0.8475 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1741, allocations: 68 kB / 0.8475 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.1747, allocations: 391.2 kB / 0.8479 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.175, allocations: 311.1 kB / 0.8482 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.1756, allocations: 445.8 kB / 0.8486 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.177, allocations: 1.233 MB / 0.8498 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.177, allocations: 0 / 0.8498 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.82e-07/0.177, allocations: 0 / 0.8498 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.773e-05/0.1771, allocations: 4 kB / 0.8498 GB, free: 7.082 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002142/0.1792, allocations: 1.119 MB / 0.8509 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1793, allocations: 13.34 kB / 0.8509 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.1794, allocations: 118.7 kB / 0.8511 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.1809, allocations: 240.1 kB / 0.8513 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1819, allocations: 0.5437 MB / 0.8518 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.182, allocations: 49.69 kB / 0.8519 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1821, allocations: 60.36 kB / 0.8519 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1836, allocations: 1.104 MB / 0.853 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1836, allocations: 0 / 0.853 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.1837, allocations: 35.92 kB / 0.853 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.1838, allocations: 85.25 kB / 0.8531 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.185, allocations: 0.7504 MB / 0.8539 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005442/0.1904, allocations: 5.791 MB / 0.8595 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.1914, allocations: 0.5187 MB / 0.86 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.1918, allocations: 288.1 kB / 0.8603 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1918, allocations: 4.438 kB / 0.8603 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1919, allocations: 39 kB / 0.8603 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.1919, allocations: 4 kB / 0.8603 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003553/0.1954, allocations: 1.682 MB / 0.862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1955, allocations: 55.84 kB / 0.862 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.1961, allocations: 0.5665 MB / 0.8626 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.1961, allocations: 37.7 kB / 0.8626 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.1964, allocations: 424 kB / 0.863 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.1966, allocations: 190.4 kB / 0.8632 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.1968, allocations: 122.6 kB / 0.8633 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.197, allocations: 382.7 kB / 0.8637 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.1974, allocations: 269.9 kB / 0.8639 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.1979, allocations: 0.4891 MB / 0.8644 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.199, allocations: 0.8044 MB / 0.8652 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.199, allocations: 8 kB / 0.8652 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001791/0.2008, allocations: 1.07 MB / 0.8663 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.2008, allocations: 12.81 kB / 0.8663 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2008, allocations: 8 kB / 0.8663 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.2016, allocations: 283.2 kB / 0.8666 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.202, allocations: 127.7 kB / 0.8667 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/0.2086, allocations: 6.729 MB / 0.8732 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.209, allocations: 44.02 kB / 0.8733 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.2091, allocations: 28 kB / 0.8733 GB, free: 13.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.2094, allocations: 254.2 kB / 0.8736 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2095, allocations: 71.58 kB / 0.8736 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.2111, allocations: 0.8849 MB / 0.8745 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2111, allocations: 4 kB / 0.8745 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2111, allocations: 8 kB / 0.8745 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2111, allocations: 3.984 kB / 0.8745 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.2137, allocations: 1.688 MB / 0.8762 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.2137, allocations: 11.88 kB / 0.8762 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.214, allocations: 60.08 kB / 0.8762 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007087/0.2147, allocations: 271.1 kB / 0.8765 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.2147, allocations: 12 kB / 0.8765 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.2212, allocations: 6.717 MB / 0.8831 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2212, allocations: 4.031 kB / 0.8831 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2226, allocations: 0.9721 MB / 0.884 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.2229, allocations: 123.5 kB / 0.8841 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.223, allocations: 11.94 kB / 0.8841 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.2234, allocations: 27.97 kB / 0.8842 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.2235, allocations: 51.81 kB / 0.8842 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.2235, allocations: 12.19 kB / 0.8842 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004342/0.2239, allocations: 395.1 kB / 0.8846 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2239, allocations: 0 / 0.8846 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007108/0.2246, allocations: 224 kB / 0.8848 GB, free: 1.277 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.2264, allocations: 1.533 MB / 0.8863 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.2283, allocations: 1.232 MB / 0.8875 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2283, allocations: 0 / 0.8875 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2295, allocations: 0.8658 MB / 0.8884 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.2305, allocations: 224.5 kB / 0.8886 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/0.239, allocations: 6.403 MB / 0.8948 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.2397, allocations: 1.02 MB / 0.8958 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.24, allocations: 126 kB / 0.8959 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.2403, allocations: 251.3 kB / 0.8962 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.2403, allocations: 0 / 0.8962 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0613/0.3016, allocations: 18.21 MB / 0.914 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.86, allocations: 64 / 0.914 GB, free: 3.227 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.782389756990597] Failed to read output from testmodel.py, exit status != 0: 11.985607209149748 12.000564964 11.820639489 Calling exit ...