Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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.001209/0.001209, allocations: 76.55 kB / 19.93 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.001233/0.001233, allocations: 177.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.9165/0.9165, allocations: 177.1 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.574/0.574, allocations: 114 MB / 373.9 MB, free: 8.719 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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.706e-05, allocations: 3.688 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002173/0.0022, allocations: 1.456 MB / 0.5556 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.002446, allocations: 87.77 kB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.002482, allocations: 0 / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.002512, allocations: 0 / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.002555, allocations: 3.938 kB / 0.5557 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.002764, allocations: 15.97 kB / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.002835, allocations: 31.86 kB / 0.5558 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.002926, allocations: 7.984 kB / 0.5558 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.00298, allocations: 12 kB / 0.5558 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.003014, allocations: 7.984 kB / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.003031, allocations: 4 kB / 0.5558 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.003086, allocations: 15.98 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003099, allocations: 0 / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.00312, allocations: 15.92 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003239, allocations: 35.88 kB / 0.5559 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003242, allocations: 0 / 0.5559 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.003244, allocations: 4 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003248, allocations: 0 / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003937/0.003642, allocations: 266.3 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.003689, allocations: 12.62 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.003725, allocations: 34.75 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.003852, allocations: 20.86 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.003946, allocations: 113.7 kB / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.003968, allocations: 384 / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.003977, allocations: 384 / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004108, allocations: 62.2 kB / 0.5563 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004115, allocations: 8.125 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004125, allocations: 384 / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00413, allocations: 4.125 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.004242, allocations: 47.95 kB / 0.5564 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.004572, allocations: 228 kB / 0.5566 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004678, allocations: 54.48 kB / 0.5567 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.004736, allocations: 32.89 kB / 0.5567 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.004752, allocations: 4 kB / 0.5567 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.004777, allocations: 38.5 kB / 0.5567 GB, free: 28 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.004779, allocations: 0 / 0.5567 GB, free: 28 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002824/0.005061, allocations: 93.62 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.005092, allocations: 63.47 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.005154, allocations: 101.8 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.005165, allocations: 33.7 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.005204, allocations: 84.09 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005223, allocations: 3.938 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.005253, allocations: 17.72 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.005342, allocations: 310.8 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.005403, allocations: 23.97 kB / 0.5574 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.00545, allocations: 31.97 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.005548, allocations: 48.81 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005551, allocations: 0 / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.00568, allocations: 85.48 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005693, allocations: 4 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005698, allocations: 8.094 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005711, allocations: 0 / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.005778, allocations: 7.984 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.005783, allocations: 4 kB / 0.5576 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.005811, allocations: 11.98 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.005817, allocations: 0 / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.00587, allocations: 109.8 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.005885, allocations: 7.922 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.00591, allocations: 7.625 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005912, allocations: 4 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.005917, allocations: 4 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00592, allocations: 0 / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006025, allocations: 132.7 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006026, allocations: 4.188 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.006058, allocations: 15.98 kB / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00606, allocations: 3.938 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.006069, allocations: 4 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.00607, allocations: 0 / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006071, allocations: 0 / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.006242, allocations: 183.4 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.006249, allocations: 3.938 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.006259, allocations: 0 / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.006299, allocations: 11.98 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.006339, allocations: 0 / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006343, allocations: 4 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.006377, allocations: 83.27 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.006377, allocations: 4.031 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001375/0.006515, allocations: 8 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003698/0.006885, allocations: 0.7007 MB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.007062, allocations: 55.89 kB / 0.5589 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007063, allocations: 4.094 kB / 0.5589 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.007115, allocations: 23.97 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.007379, allocations: 4 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.007768, allocations: 146.4 kB / 0.5591 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.007817, allocations: 63.34 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.007843, allocations: 4.062 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.007884, allocations: 20.42 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/0.007886, allocations: 0 / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.02492, allocations: 2.18 MB / 0.5613 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.055, allocations: 4 kB / 0.5613 GB, free: 11.26 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized_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_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.693341516889632] Failed to read output from testmodel.py, exit status != 0: 7.141568238846958 7.15652715 7.151200745 Calling exit ...