Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001671/0.001671, allocations: 105 kB / 20.48 MB, free: 1.488 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.002051/0.002051, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 8.031 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 1.015/1.015, allocations: 150 MB / 464 MB, free: 10.58 MB / 366.1 MB " [Timeout remaining time 178] 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",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.002122/0.002122, allocations: 66.47 kB / 0.642 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2197, allocations: 89.17 MB / 0.7291 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009005/0.2287, allocations: 5.729 MB / 0.7347 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.2342, allocations: 2.786 MB / 0.7374 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.2349, allocations: 31.69 kB / 0.7375 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.2371, allocations: 0.7192 MB / 0.7382 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.2386, allocations: 429.7 kB / 0.7386 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.24, allocations: 415 kB / 0.739 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.2414, allocations: 0.9594 MB / 0.7399 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.242, allocations: 382.5 kB / 0.7403 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.2427, allocations: 390.5 kB / 0.7406 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007026/0.2434, allocations: 442.2 kB / 0.7411 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.2435, allocations: 48 kB / 0.7411 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009322/0.2444, allocations: 367.2 kB / 0.7415 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.2447, allocations: 251.2 kB / 0.7417 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.2452, allocations: 350.2 kB / 0.742 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.2465, allocations: 0.9806 MB / 0.743 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2465, allocations: 0 / 0.743 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2465, allocations: 0 / 0.743 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.2465, allocations: 0 / 0.743 GB, free: 3.125 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001816/0.2483, allocations: 0.9285 MB / 0.7439 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.2484, allocations: 12.03 kB / 0.7439 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.495e-05/0.2484, allocations: 17.19 kB / 0.7439 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.2485, allocations: 98.69 kB / 0.744 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.2499, allocations: 200.3 kB / 0.7442 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.2508, allocations: 464.9 kB / 0.7447 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.2508, allocations: 37.36 kB / 0.7447 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.251, allocations: 68.23 kB / 0.7448 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2522, allocations: 0.82 MB / 0.7456 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.2523, allocations: 3.938 kB / 0.7456 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.2523, allocations: 27.98 kB / 0.7456 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.2525, allocations: 60.95 kB / 0.7457 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.2535, allocations: 0.5735 MB / 0.7462 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.2585, allocations: 4.509 MB / 0.7506 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.259, allocations: 271.2 kB / 0.7509 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.2593, allocations: 213.3 kB / 0.7511 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2594, allocations: 4.281 kB / 0.7511 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2594, allocations: 34.84 kB / 0.7511 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/0.2594, allocations: 4 kB / 0.7511 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005818/0.2652, allocations: 2.326 MB / 0.7534 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.2653, allocations: 59.34 kB / 0.7534 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.2659, allocations: 466 kB / 0.7539 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.266, allocations: 33.7 kB / 0.7539 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.2663, allocations: 348.5 kB / 0.7543 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2664, allocations: 150.7 kB / 0.7544 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.2666, allocations: 106.3 kB / 0.7545 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2668, allocations: 362.8 kB / 0.7548 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2672, allocations: 245.1 kB / 0.7551 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.2678, allocations: 415.3 kB / 0.7555 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2688, allocations: 0.674 MB / 0.7561 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2688, allocations: 0 / 0.7561 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00191/0.2707, allocations: 0.9135 MB / 0.757 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.2708, allocations: 8 kB / 0.757 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.2708, allocations: 8 kB / 0.757 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008362/0.2716, allocations: 222.9 kB / 0.7573 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.2722, allocations: 119.8 kB / 0.7574 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3947/0.6668, allocations: 5.021 MB / 0.7623 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.6674, allocations: 33.86 kB / 0.7623 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.6674, allocations: 24.09 kB / 0.7623 GB, free: 32.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002847/0.6677, allocations: 223.5 kB / 0.7625 GB, free: 32.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.6678, allocations: 61 kB / 0.7626 GB, free: 32.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.6691, allocations: 0.7684 MB / 0.7633 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6691, allocations: 4.094 kB / 0.7634 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6691, allocations: 5.688 kB / 0.7634 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6691, allocations: 10.56 kB / 0.7634 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.6712, allocations: 1.457 MB / 0.7648 GB, free: 32.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6712, allocations: 5.484 kB / 0.7648 GB, free: 32.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.6715, allocations: 72.19 kB / 0.7649 GB, free: 32.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/0.6721, allocations: 202.9 kB / 0.7651 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.6721, allocations: 9.969 kB / 0.7651 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.6758, allocations: 4.969 MB / 0.7699 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6758, allocations: 4.141 kB / 0.7699 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.6774, allocations: 1.126 MB / 0.771 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.6776, allocations: 100.7 kB / 0.7711 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.6777, allocations: 7.609 kB / 0.7711 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.678, allocations: 26.78 kB / 0.7712 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.6781, allocations: 40.7 kB / 0.7712 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.6781, allocations: 12.03 kB / 0.7712 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003156/0.6784, allocations: 317.8 kB / 0.7715 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6784, allocations: 0 / 0.7715 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006501/0.6791, allocations: 167.2 kB / 0.7717 GB, free: 28.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.681, allocations: 1.696 MB / 0.7733 GB, free: 27.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.6824, allocations: 0.969 MB / 0.7743 GB, free: 27.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6824, allocations: 4.531 kB / 0.7743 GB, free: 27.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.6833, allocations: 0.6696 MB / 0.7749 GB, free: 26.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.6842, allocations: 184.2 kB / 0.7751 GB, free: 26.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.692, allocations: 5.645 MB / 0.7806 GB, free: 24.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.6926, allocations: 0.9445 MB / 0.7815 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005371/0.6932, allocations: 120.1 kB / 0.7817 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6934, allocations: 215 kB / 0.7819 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.6934, allocations: 0 / 0.7819 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07274/0.7662, allocations: 14.78 MB / 0.7963 GB, free: 19.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.7, allocations: 3.062 kB / 0.7963 GB, free: 19.45 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.97243108303519] Failed to read output from testmodel.py, exit status != 0: 13.883955012017395 13.905019329 13.65502487 Calling exit ...