Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.0009637/0.0009637, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001498/0.001498, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8825/0.8825, allocations: 177.2 MB / 203.5 MB, free: 5.742 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.5492/0.5492, 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.462e-05, allocations: 5.234 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004999/0.005024, allocations: 5.203 MB / 0.5593 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.008275, allocations: 2.579 MB / 0.5618 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.008601, allocations: 31.75 kB / 0.5618 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.009575, allocations: 0.6844 MB / 0.5625 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.01026, allocations: 441.2 kB / 0.5629 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.0112, allocations: 394.1 kB / 0.5633 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000723/0.01192, allocations: 0.9863 MB / 0.5642 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.01233, allocations: 382.4 kB / 0.5646 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.01282, allocations: 0.5182 MB / 0.5651 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.01318, allocations: 359 kB / 0.5655 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.01322, allocations: 48 kB / 0.5655 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.01363, allocations: 346.9 kB / 0.5658 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.01382, allocations: 255.2 kB / 0.5661 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.01399, allocations: 239.4 kB / 0.5663 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.01471, allocations: 0.993 MB / 0.5673 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01471, allocations: 0 / 0.5673 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01471, allocations: 4 kB / 0.5673 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.01472, allocations: 0 / 0.5673 GB, free: 5.336 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.001118/0.01584, allocations: 0.9053 MB / 0.5682 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.01588, allocations: 12.62 kB / 0.5682 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/0.01597, allocations: 102.7 kB / 0.5683 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.01675, allocations: 204.2 kB / 0.5685 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.01732, allocations: 454.9 kB / 0.5689 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01734, allocations: 33.38 kB / 0.5689 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.01746, allocations: 60.48 kB / 0.569 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.01851, allocations: 0.9828 MB / 0.57 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.01854, allocations: 8.125 kB / 0.57 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.01857, allocations: 27.94 kB / 0.57 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.01869, allocations: 64.94 kB / 0.57 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.01929, allocations: 0.5658 MB / 0.5706 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.02191, allocations: 3.565 MB / 0.5741 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.02225, allocations: 279.1 kB / 0.5743 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.02245, allocations: 213.3 kB / 0.5746 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.02247, allocations: 4.281 kB / 0.5746 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.02249, allocations: 34.84 kB / 0.5746 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.02249, allocations: 0 / 0.5746 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40): time 0.003163/0.02566, allocations: 2.338 MB / 0.5769 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000294/0.02595, allocations: 55.41 kB / 0.5769 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.02627, allocations: 469.9 kB / 0.5774 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.0263, allocations: 29.7 kB / 0.5774 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.02645, allocations: 344.6 kB / 0.5777 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.02652, allocations: 146.7 kB / 0.5779 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.02664, allocations: 106.2 kB / 0.578 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.02675, allocations: 366.7 kB / 0.5783 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.02703, allocations: 241.2 kB / 0.5786 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.02733, allocations: 411.2 kB / 0.5789 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.02791, allocations: 0.674 MB / 0.5796 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02792, allocations: 0 / 0.5796 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001014/0.02893, allocations: 0.9138 MB / 0.5805 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.02895, allocations: 8 kB / 0.5805 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.02897, allocations: 4 kB / 0.5805 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.02942, allocations: 230.6 kB / 0.5807 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.02972, allocations: 115.8 kB / 0.5808 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/0.03346, allocations: 5.007 MB / 0.5857 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.03387, allocations: 27.97 kB / 0.5858 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.0339, allocations: 24 kB / 0.5858 GB, free: 1.434 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.000295/0.03419, allocations: 226.2 kB / 0.586 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.03427, allocations: 63.62 kB / 0.5861 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009476/0.03521, allocations: 0.7579 MB / 0.5868 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.03522, allocations: 11.92 kB / 0.5868 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03522, allocations: 8 kB / 0.5868 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.03523, allocations: 0 / 0.5868 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.03683, allocations: 1.396 MB / 0.5882 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.03683, allocations: 4 kB / 0.5882 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.03704, allocations: 67.88 kB / 0.5882 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/0.03741, allocations: 206.5 kB / 0.5884 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.03744, allocations: 12 kB / 0.5885 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/0.04075, allocations: 4.941 MB / 0.5933 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04075, allocations: 0 / 0.5933 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.04192, allocations: 1.131 MB / 0.5944 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.04213, allocations: 95.55 kB / 0.5945 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.04218, allocations: 12 kB / 0.5945 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.04236, allocations: 27.91 kB / 0.5945 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.04243, allocations: 31.94 kB / 0.5945 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.04245, allocations: 16 kB / 0.5946 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002514/0.0427, allocations: 318.8 kB / 0.5949 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.0427, allocations: 0 / 0.5949 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004919/0.04319, allocations: 168 kB / 0.595 GB, free: 7.457 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.001307/0.0445, allocations: 1.68 MB / 0.5967 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.04621, allocations: 0.969 MB / 0.5976 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.04622, allocations: 0 / 0.5976 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.04702, allocations: 0.6642 MB / 0.5983 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.04791, allocations: 183.2 kB / 0.5984 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.056, allocations: 5.572 MB / 0.6039 GB, free: 13.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.05637, allocations: 342.2 kB / 0.6042 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.05679, allocations: 121 kB / 0.6043 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.05732, allocations: 208.4 kB / 0.6045 GB, free: 13.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.653e-06/0.05732, allocations: 3.938 kB / 0.6045 GB, free: 13.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.09204, allocations: 15.7 MB / 0.6199 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.534, allocations: 21.36 kB / 0.6199 GB, free: 13.97 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.06594495754689] Failed to read output from testmodel.py, exit status != 0: 7.6260063434019685 7.635356785 7.618303546 Calling exit ...