Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 119.2 kB / 19.7 MB, free: 2.188 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.001446/0.001446, allocations: 216.6 kB / 23 MB, free: 5.008 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9715/0.9715, allocations: 150 MB / 463.2 MB, free: 10.49 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.002302/0.002302, allocations: 62.53 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2163, allocations: 89.17 MB / 0.7284 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009839/0.2262, allocations: 6.41 MB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.2324, allocations: 3.328 MB / 0.7379 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.2331, allocations: 43.62 kB / 0.7379 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.236, allocations: 0.9727 MB / 0.7389 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2377, allocations: 493.5 kB / 0.7393 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.2393, allocations: 0.5005 MB / 0.7398 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.2414, allocations: 1.108 MB / 0.7409 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.2426, allocations: 0.5219 MB / 0.7414 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2437, allocations: 450.4 kB / 0.7418 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2448, allocations: 0.4942 MB / 0.7423 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2449, allocations: 59.98 kB / 0.7424 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.2459, allocations: 0.495 MB / 0.7429 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.2462, allocations: 295.1 kB / 0.7431 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.2467, allocations: 398 kB / 0.7435 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2481, allocations: 1.183 MB / 0.7447 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2481, allocations: 0 / 0.7447 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2481, allocations: 0 / 0.7447 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.2482, allocations: 0 / 0.7447 GB, free: 0.5117 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001803/0.25, allocations: 1.014 MB / 0.7457 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.25, allocations: 12.03 kB / 0.7457 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.2502, allocations: 118.7 kB / 0.7458 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2515, allocations: 224.1 kB / 0.746 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.2525, allocations: 0.5244 MB / 0.7465 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.2526, allocations: 49.67 kB / 0.7466 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/0.2527, allocations: 56.38 kB / 0.7466 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2541, allocations: 1.041 MB / 0.7476 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2541, allocations: 7.953 kB / 0.7476 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.2542, allocations: 27.98 kB / 0.7477 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/0.2543, allocations: 77.27 kB / 0.7477 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2554, allocations: 0.6956 MB / 0.7484 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.2608, allocations: 5.647 MB / 0.7539 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.2616, allocations: 416.2 kB / 0.7543 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.2623, allocations: 388.5 kB / 0.7547 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.2624, allocations: 11.98 kB / 0.7547 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2624, allocations: 35.25 kB / 0.7547 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.2624, allocations: 0 / 0.7547 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.00412/0.2665, allocations: 1.714 MB / 0.7564 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.2666, allocations: 55.41 kB / 0.7565 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2671, allocations: 466.8 kB / 0.7569 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.2671, allocations: 33.7 kB / 0.757 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.2674, allocations: 400 kB / 0.7573 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2675, allocations: 154.7 kB / 0.7575 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2677, allocations: 114.2 kB / 0.7576 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2679, allocations: 366.8 kB / 0.7579 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2682, allocations: 241.2 kB / 0.7582 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.2688, allocations: 461 kB / 0.7586 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.2698, allocations: 0.74 MB / 0.7593 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2698, allocations: 8 kB / 0.7593 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.3973/0.667, allocations: 1.027 MB / 0.7603 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.6671, allocations: 7.531 kB / 0.7604 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6671, allocations: 7.531 kB / 0.7604 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/0.668, allocations: 320.4 kB / 0.7607 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.6684, allocations: 95.69 kB / 0.7608 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.6739, allocations: 7.069 MB / 0.7677 GB, free: 29.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.6743, allocations: 30.83 kB / 0.7677 GB, free: 29.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.6743, allocations: 29.84 kB / 0.7677 GB, free: 29.38 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.6747, allocations: 252.9 kB / 0.768 GB, free: 29.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.6748, allocations: 63.28 kB / 0.768 GB, free: 29.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.6764, allocations: 0.8798 MB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6764, allocations: 3.641 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6764, allocations: 5.094 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6764, allocations: 4.125 kB / 0.7689 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.6791, allocations: 1.639 MB / 0.7705 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6791, allocations: 6.719 kB / 0.7705 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.6793, allocations: 45.31 kB / 0.7705 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/0.6802, allocations: 311.8 kB / 0.7708 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6802, allocations: 9.578 kB / 0.7708 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.6866, allocations: 7.051 MB / 0.7777 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6866, allocations: 4.109 kB / 0.7777 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.6883, allocations: 0.9847 MB / 0.7787 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.6886, allocations: 98.38 kB / 0.7788 GB, free: 23.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.6887, allocations: 12.78 kB / 0.7788 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.6889, allocations: 23.58 kB / 0.7788 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.6891, allocations: 38.61 kB / 0.7789 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.6891, allocations: 11.88 kB / 0.7789 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000432/0.6895, allocations: 311.5 kB / 0.7792 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6895, allocations: 0.6875 kB / 0.7792 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001126/0.6907, allocations: 197.5 kB / 0.7794 GB, free: 23.43 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/0.6926, allocations: 1.532 MB / 0.7809 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.6945, allocations: 1.159 MB / 0.782 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6945, allocations: 0 / 0.782 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.6958, allocations: 0.835 MB / 0.7828 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.697, allocations: 210.8 kB / 0.783 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.7113, allocations: 5.872 MB / 0.7887 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.7123, allocations: 0.9909 MB / 0.7897 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006236/0.7129, allocations: 99.52 kB / 0.7898 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.7133, allocations: 230.7 kB / 0.79 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of SimCode: time 2.264e-06/0.7133, allocations: 0 / 0.79 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/0.7909, allocations: 16 MB / 0.8056 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.13, allocations: 5.125 kB / 0.8056 GB, free: 11.29 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.144098542863503] Failed to read output from testmodel.py, exit status != 0: 13.248774030944332 13.259638878 13.009076882 Calling exit ...