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.0009629/0.0009629, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009535/0.0009535, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9206/0.9206, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5566/0.5566, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.705e-05, allocations: 4.797 kB / 0.5542 GB, free: 1.676 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007254/0.007271, allocations: 5.874 MB / 0.5599 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.01187, allocations: 3.117 MB / 0.563 GB, free: 8.648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.01216, allocations: 43.56 kB / 0.563 GB, free: 8.605 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.01334, allocations: 0.937 MB / 0.5639 GB, free: 7.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008197/0.01416, allocations: 0.4971 MB / 0.5644 GB, free: 7.168 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.01494, allocations: 0.5055 MB / 0.5649 GB, free: 6.664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009737/0.01592, allocations: 1.127 MB / 0.566 GB, free: 5.531 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.01668, allocations: 0.51 MB / 0.5665 GB, free: 5.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.01743, allocations: 0.6194 MB / 0.5671 GB, free: 4.398 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.01791, allocations: 426.8 kB / 0.5675 GB, free: 3.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.01797, allocations: 60 kB / 0.5676 GB, free: 3.922 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.01856, allocations: 446.8 kB / 0.568 GB, free: 3.484 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.01878, allocations: 315.1 kB / 0.5683 GB, free: 3.176 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.01897, allocations: 271.3 kB / 0.5686 GB, free: 2.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.01996, allocations: 1.207 MB / 0.5697 GB, free: 1.699 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01996, allocations: 0 / 0.5697 GB, free: 1.699 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01996, allocations: 0 / 0.5697 GB, free: 1.699 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.01998, allocations: 0 / 0.5697 GB, free: 1.699 MB / 490.7 MB 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.001275/0.02126, allocations: 1.006 MB / 0.5707 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.02131, allocations: 8.031 kB / 0.5707 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.835e-05/0.02141, allocations: 118.7 kB / 0.5709 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.02222, allocations: 220.2 kB / 0.5711 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.02289, allocations: 0.5314 MB / 0.5716 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.02292, allocations: 41.69 kB / 0.5716 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.023, allocations: 68.31 kB / 0.5717 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.02402, allocations: 1.13 MB / 0.5728 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.02404, allocations: 4.125 kB / 0.5728 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.02409, allocations: 36.11 kB / 0.5728 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.971e-05/0.02416, allocations: 73.2 kB / 0.5729 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.02488, allocations: 0.6879 MB / 0.5736 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.02806, allocations: 4.502 MB / 0.578 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.02857, allocations: 410.1 kB / 0.5784 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.02903, allocations: 393.2 kB / 0.5787 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.02906, allocations: 11.78 kB / 0.5787 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.02908, allocations: 34.56 kB / 0.5788 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.02908, allocations: 0 / 0.5788 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.002376/0.03146, allocations: 1.729 MB / 0.5805 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.0315, allocations: 63.34 kB / 0.5805 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.03182, allocations: 478.7 kB / 0.581 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.03184, allocations: 29.7 kB / 0.581 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.03201, allocations: 392.1 kB / 0.5814 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.03209, allocations: 154.7 kB / 0.5815 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.0322, allocations: 110.2 kB / 0.5816 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.0323, allocations: 370.8 kB / 0.582 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.03253, allocations: 241.2 kB / 0.5822 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.03285, allocations: 465 kB / 0.5827 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.03346, allocations: 0.7525 MB / 0.5834 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.03347, allocations: 8 kB / 0.5834 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001105/0.03457, allocations: 1.034 MB / 0.5844 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.03459, allocations: 8 kB / 0.5844 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.0346, allocations: 16.72 kB / 0.5844 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.03518, allocations: 323.1 kB / 0.5847 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.03535, allocations: 95.83 kB / 0.5848 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.03974, allocations: 7.064 MB / 0.5917 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.03993, allocations: 28.03 kB / 0.5918 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.03996, allocations: 27.98 kB / 0.5918 GB, free: 9.98 MB / 0.5105 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.0002052/0.04016, allocations: 245.6 kB / 0.592 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.04022, allocations: 63.56 kB / 0.5921 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.04124, allocations: 0.8961 MB / 0.593 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.04125, allocations: 7.984 kB / 0.593 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.04126, allocations: 4 kB / 0.593 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.04126, allocations: 0 / 0.593 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.04285, allocations: 1.594 MB / 0.5945 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.04286, allocations: 4 kB / 0.5945 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.04294, allocations: 39.91 kB / 0.5946 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.04343, allocations: 315.5 kB / 0.5949 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.04345, allocations: 16.09 kB / 0.5949 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/0.04773, allocations: 7.053 MB / 0.6018 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.04773, allocations: 3.938 kB / 0.6018 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.04869, allocations: 0.9919 MB / 0.6027 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.04882, allocations: 111.5 kB / 0.6029 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.04885, allocations: 8 kB / 0.6029 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.04899, allocations: 27.97 kB / 0.6029 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.04908, allocations: 43.86 kB / 0.6029 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.0491, allocations: 12 kB / 0.6029 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002145/0.04931, allocations: 310.9 kB / 0.6032 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.04931, allocations: 0 / 0.6032 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005429/0.04986, allocations: 196 kB / 0.6034 GB, free: 13.44 MB / 0.5261 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.001146/0.051, allocations: 1.537 MB / 0.6049 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.05207, allocations: 1.16 MB / 0.6061 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.05207, allocations: 0 / 0.6061 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.0527, allocations: 0.832 MB / 0.6069 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.05328, allocations: 201.9 kB / 0.6071 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.05835, allocations: 5.908 MB / 0.6128 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.05863, allocations: 391.1 kB / 0.6132 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.05883, allocations: 101.2 kB / 0.6133 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.05901, allocations: 228.4 kB / 0.6135 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.05902, allocations: 0 / 0.6135 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.09473, allocations: 17.19 MB / 0.6303 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.461, allocations: 13.91 kB / 0.6303 GB, free: 1.832 MB / 0.5417 GB " [Timeout remaining time 652] (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: 9.926471616141498] Failed to read output from testmodel.py, exit status != 0: 7.551272518001497 7.56619864 7.543446557 Calling exit ...