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.0008368/0.0008368, 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.0008019/0.0008019, 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.912/0.912, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5676/0.5676, allocations: 114 MB / 373.9 MB, free: 8.703 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.39e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004904/0.004918, allocations: 5.289 MB / 0.5593 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.008161, allocations: 2.595 MB / 0.5619 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.008571, allocations: 35.69 kB / 0.5619 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009914/0.009562, allocations: 0.6836 MB / 0.5626 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.01032, allocations: 441.2 kB / 0.563 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.01106, allocations: 422.7 kB / 0.5634 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008901/0.01195, allocations: 0.9824 MB / 0.5644 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.01239, allocations: 382.4 kB / 0.5647 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.01293, allocations: 0.5182 MB / 0.5652 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.01335, allocations: 358.9 kB / 0.5656 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.136e-05/0.01342, allocations: 48 kB / 0.5656 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.01397, allocations: 343 kB / 0.5659 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.01418, allocations: 259.2 kB / 0.5662 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.01454, allocations: 243.4 kB / 0.5664 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008889/0.01543, allocations: 0.9929 MB / 0.5674 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01543, allocations: 4 kB / 0.5674 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.253e-06/0.01543, allocations: 0 / 0.5674 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.01545, allocations: 0 / 0.5674 GB, free: 5.211 MB / 0.5261 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.001171/0.01662, allocations: 0.9208 MB / 0.5683 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.01666, allocations: 12.62 kB / 0.5683 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.225e-05/0.01674, allocations: 98.7 kB / 0.5684 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.01748, allocations: 208.2 kB / 0.5686 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.01806, allocations: 464.2 kB / 0.569 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.01808, allocations: 45.3 kB / 0.5691 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01819, allocations: 48.55 kB / 0.5691 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.01901, allocations: 0.9828 MB / 0.5701 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.01903, allocations: 16.08 kB / 0.5701 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.01907, allocations: 27.92 kB / 0.5701 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.01917, allocations: 60.95 kB / 0.5702 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.01977, allocations: 0.5697 MB / 0.5708 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.02245, allocations: 3.561 MB / 0.5742 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.02276, allocations: 279.1 kB / 0.5745 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.02296, allocations: 213.3 kB / 0.5747 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.02298, allocations: 4.281 kB / 0.5747 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.023, allocations: 30.84 kB / 0.5747 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.02301, allocations: 0 / 0.5747 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40): time 0.003135/0.02614, allocations: 2.338 MB / 0.577 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.02618, allocations: 55.41 kB / 0.5771 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.02653, allocations: 477.8 kB / 0.5775 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.02656, allocations: 33.7 kB / 0.5776 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02671, allocations: 352.5 kB / 0.5779 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.02679, allocations: 146.7 kB / 0.578 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.02689, allocations: 102.3 kB / 0.5781 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.027, allocations: 366.7 kB / 0.5785 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.02724, allocations: 233.2 kB / 0.5787 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.02757, allocations: 415.2 kB / 0.5791 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.02817, allocations: 0.6779 MB / 0.5798 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.02817, allocations: 4 kB / 0.5798 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001175/0.02934, allocations: 0.9174 MB / 0.5807 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.02936, allocations: 5.719 kB / 0.5807 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.02937, allocations: 8 kB / 0.5807 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.0298, allocations: 227 kB / 0.5809 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.03006, allocations: 115.8 kB / 0.581 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.03327, allocations: 5.003 MB / 0.5859 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.0335, allocations: 27.97 kB / 0.5859 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.03353, allocations: 28 kB / 0.5859 GB, free: 1.266 MB / 0.5417 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.0002071/0.03373, allocations: 225.7 kB / 0.5862 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.03379, allocations: 63.61 kB / 0.5862 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.03492, allocations: 0.7618 MB / 0.587 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.03492, allocations: 11.94 kB / 0.587 GB, free: 184 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.03493, allocations: 3.984 kB / 0.587 GB, free: 180 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.03493, allocations: 0 / 0.587 GB, free: 180 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.03641, allocations: 1.396 MB / 0.5883 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.03642, allocations: 3.938 kB / 0.5883 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.03662, allocations: 71.88 kB / 0.5884 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.03698, allocations: 202.6 kB / 0.5886 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.037, allocations: 15.94 kB / 0.5886 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.03998, allocations: 4.937 MB / 0.5934 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.03998, allocations: 4.031 kB / 0.5934 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.04134, allocations: 1.128 MB / 0.5945 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.04147, allocations: 99.61 kB / 0.5946 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.04151, allocations: 12 kB / 0.5947 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.04167, allocations: 27.91 kB / 0.5947 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.04176, allocations: 31.94 kB / 0.5947 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.04177, allocations: 16 kB / 0.5947 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002279/0.042, allocations: 314.9 kB / 0.595 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.042, allocations: 0 / 0.595 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000483/0.04249, allocations: 172.1 kB / 0.5952 GB, free: 7.285 MB / 0.5573 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.00129/0.04378, allocations: 1.693 MB / 0.5968 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.04473, allocations: 0.9692 MB / 0.5978 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.04473, allocations: 0 / 0.5978 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.04523, allocations: 0.6564 MB / 0.5984 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.04575, allocations: 193.3 kB / 0.5986 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.05068, allocations: 5.585 MB / 0.6041 GB, free: 13.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.05093, allocations: 350.3 kB / 0.6044 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.05117, allocations: 117 kB / 0.6045 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.05136, allocations: 212.4 kB / 0.6047 GB, free: 13.09 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/0.05136, allocations: 0 / 0.6047 GB, free: 13.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.08743, allocations: 15.81 MB / 0.6202 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.43, allocations: 14.64 kB / 0.6202 GB, free: 13.68 MB / 0.5886 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.067428285256028] Failed to read output from testmodel.py, exit status != 0: 7.522163429297507 7.53168217 7.514404389 Calling exit ...