Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001265/0.001265, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002181/0.002181, allocations: 212.4 kB / 22.99 MB, free: 4.977 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9752/0.9752, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002184/0.002184, allocations: 68.52 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2049, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009227/0.2142, allocations: 6.541 MB / 0.7346 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006238/0.2204, allocations: 3.063 MB / 0.7375 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.2211, allocations: 39.62 kB / 0.7376 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.2237, allocations: 0.9518 MB / 0.7385 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2252, allocations: 0.5285 MB / 0.739 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2264, allocations: 442.2 kB / 0.7395 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.2279, allocations: 1.229 MB / 0.7407 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009125/0.2289, allocations: 0.5376 MB / 0.7412 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007571/0.2296, allocations: 494.2 kB / 0.7416 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.2304, allocations: 0.5214 MB / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.2305, allocations: 68 kB / 0.7422 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/0.2312, allocations: 343.3 kB / 0.7425 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.2316, allocations: 323.1 kB / 0.7429 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.232, allocations: 378.2 kB / 0.7432 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.2334, allocations: 1.226 MB / 0.7444 GB, free: 304 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2335, allocations: 4 kB / 0.7444 GB, free: 300 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2335, allocations: 4 kB / 0.7444 GB, free: 296 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2335, allocations: 0 / 0.7444 GB, free: 296 kB / 0.5606 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.001956/0.2354, allocations: 1.123 MB / 0.7455 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2355, allocations: 12.03 kB / 0.7455 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.2356, allocations: 118.7 kB / 0.7456 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.2371, allocations: 240.1 kB / 0.7459 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2382, allocations: 0.5321 MB / 0.7464 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.2383, allocations: 45.67 kB / 0.7464 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2384, allocations: 68.36 kB / 0.7465 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.2402, allocations: 1.344 MB / 0.7478 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.2402, allocations: 11.89 kB / 0.7478 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.2403, allocations: 28 kB / 0.7479 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.2404, allocations: 85.25 kB / 0.7479 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2416, allocations: 0.7465 MB / 0.7487 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.2473, allocations: 4.635 MB / 0.7532 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2483, allocations: 0.5124 MB / 0.7537 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.2487, allocations: 286 kB / 0.754 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2488, allocations: 12.41 kB / 0.754 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2488, allocations: 39 kB / 0.754 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.2488, allocations: 0 / 0.754 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004089/0.2529, allocations: 1.682 MB / 0.7557 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2529, allocations: 55.84 kB / 0.7557 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.2536, allocations: 0.5858 MB / 0.7563 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.2537, allocations: 37.7 kB / 0.7563 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.254, allocations: 420.1 kB / 0.7567 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.2542, allocations: 182.5 kB / 0.7569 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.2544, allocations: 122.6 kB / 0.757 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.2546, allocations: 378.7 kB / 0.7574 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.2551, allocations: 277.8 kB / 0.7576 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.2559, allocations: 0.493 MB / 0.7581 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.257, allocations: 0.8006 MB / 0.7589 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.257, allocations: 0 / 0.7589 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3758/0.6329, allocations: 1.071 MB / 0.7599 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.6329, allocations: 12.62 kB / 0.76 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.6329, allocations: 7.219 kB / 0.76 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/0.6338, allocations: 277 kB / 0.7602 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.6343, allocations: 129.8 kB / 0.7603 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/0.6393, allocations: 6.685 MB / 0.7669 GB, free: 29.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.64, allocations: 38.67 kB / 0.7669 GB, free: 29.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.6401, allocations: 29.12 kB / 0.7669 GB, free: 29.28 MB / 0.5762 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.0003433/0.6404, allocations: 251.9 kB / 0.7672 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.6405, allocations: 82.08 kB / 0.7673 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.642, allocations: 0.8732 MB / 0.7681 GB, free: 29.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.642, allocations: 7.406 kB / 0.7681 GB, free: 29.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6421, allocations: 8.406 kB / 0.7681 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6421, allocations: 5.672 kB / 0.7681 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.6446, allocations: 1.609 MB / 0.7697 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6446, allocations: 2.281 kB / 0.7697 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.6448, allocations: 61.19 kB / 0.7698 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/0.6455, allocations: 268.1 kB / 0.77 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.6456, allocations: 14.44 kB / 0.77 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006102/0.6517, allocations: 6.669 MB / 0.7765 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6517, allocations: 2.812 kB / 0.7765 GB, free: 23.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.6537, allocations: 0.9806 MB / 0.7775 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.6541, allocations: 119.5 kB / 0.7776 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.6542, allocations: 14.06 kB / 0.7776 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.6546, allocations: 30.23 kB / 0.7777 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.6547, allocations: 46.52 kB / 0.7777 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.6548, allocations: 13.62 kB / 0.7777 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005158/0.6553, allocations: 393.9 kB / 0.7781 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6553, allocations: 0.875 kB / 0.7781 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009744/0.6563, allocations: 223.8 kB / 0.7783 GB, free: 23.31 MB / 0.5762 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.002121/0.6584, allocations: 1.535 MB / 0.7798 GB, free: 22.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.6608, allocations: 1.234 MB / 0.781 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6608, allocations: 0.7812 kB / 0.781 GB, free: 21.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.662, allocations: 0.8692 MB / 0.7819 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6632, allocations: 226 kB / 0.7821 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/0.673, allocations: 6.405 MB / 0.7883 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.6736, allocations: 415.5 kB / 0.7887 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000544/0.6741, allocations: 124.7 kB / 0.7889 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6744, allocations: 255 kB / 0.7891 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.6744, allocations: 0 / 0.7891 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/0.7404, allocations: 19.35 MB / 0.808 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.95, allocations: 6.219 kB / 0.808 GB, free: 10.14 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.912983128335327] Failed to read output from testmodel.py, exit status != 0: 13.075780434999615 13.086736119 12.850355019 Calling exit ...