Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001198/0.001198, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001371/0.001371, allocations: 212.5 kB / 23.04 MB, free: 4.887 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9037/0.9037, allocations: 150 MB / 463.2 MB, free: 10.23 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.001898/0.001898, allocations: 63.31 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 89.18 MB / 0.7284 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001987/0.1567, allocations: 0.8307 MB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1582, allocations: 1.194 MB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1582, allocations: 4 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.1583, allocations: 11.86 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.1583, allocations: 15.86 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1588, allocations: 159.5 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.159, allocations: 167.6 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1591, allocations: 25.28 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.1592, allocations: 63.84 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1593, allocations: 65.47 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.1594, allocations: 16 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.1594, allocations: 23.98 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.1595, allocations: 31.92 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.1595, allocations: 55.77 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1598, allocations: 167.7 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1598, allocations: 0 / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1598, allocations: 7.938 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1598, allocations: 0 / 0.7312 GB, free: 13.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006985/0.1605, allocations: 414 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1605, allocations: 12.03 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1606, allocations: 42.73 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1606, allocations: 16.89 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.1611, allocations: 188.6 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1611, allocations: 8.375 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1612, allocations: 16.38 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1614, allocations: 89.89 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1614, allocations: 3.938 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1614, allocations: 8 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1614, allocations: 4 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1616, allocations: 51.89 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.1623, allocations: 339.6 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1624, allocations: 38.55 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.1625, allocations: 20.97 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1625, allocations: 4 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.1627, allocations: 99.3 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1627, allocations: 0 / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004123/0.1631, allocations: 137.5 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1632, allocations: 59.34 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1633, allocations: 137.8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1633, allocations: 29.7 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.1634, allocations: 116.1 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1635, allocations: 27.8 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.1635, allocations: 49.69 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1637, allocations: 318.8 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.1638, allocations: 81.66 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1641, allocations: 156.8 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.1644, allocations: 200.6 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1644, allocations: 4 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000505/0.1649, allocations: 284.6 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.1649, allocations: 35.89 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.165, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.165, allocations: 4.375 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1651, allocations: 31.92 kB / 0.7341 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1651, allocations: 7.938 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1653, allocations: 43.84 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1653, allocations: 12 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001138/0.1654, allocations: 127.7 kB / 0.7342 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1655, allocations: 12.28 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.1655, allocations: 16.66 kB / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1655, allocations: 7.938 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1655, allocations: 0 / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1655, allocations: 7.938 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.1661, allocations: 365.4 kB / 0.7346 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1661, allocations: 0 / 0.7346 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.1662, allocations: 15.92 kB / 0.7346 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1662, allocations: 4 kB / 0.7346 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1662, allocations: 4 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1662, allocations: 4 kB / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1662, allocations: 0 / 0.7347 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1666, allocations: 247.4 kB / 0.7349 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.1666, allocations: 11.89 kB / 0.7349 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1666, allocations: 0 / 0.7349 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.1667, allocations: 11.98 kB / 0.7349 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1667, allocations: 7.984 kB / 0.7349 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1667, allocations: 4 kB / 0.7349 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.1668, allocations: 109.2 kB / 0.735 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1668, allocations: 0 / 0.735 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002799/0.1671, allocations: 31.98 kB / 0.7351 GB, free: 9.492 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007363/0.1678, allocations: 0.7824 MB / 0.7358 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1682, allocations: 205.2 kB / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1682, allocations: 0 / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1683, allocations: 35.91 kB / 0.7361 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1686, allocations: 23.97 kB / 0.7361 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1711, allocations: 2.095 MB / 0.7381 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.1712, allocations: 93.62 kB / 0.7382 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.8e-05/0.1712, allocations: 12.64 kB / 0.7382 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1713, allocations: 39.42 kB / 0.7383 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1713, allocations: 0 / 0.7383 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.2036, allocations: 3.832 MB / 0.742 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.37, allocations: 7.516 kB / 0.742 GB, free: 2.309 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_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_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.824105091858655] Failed to read output from testmodel.py, exit status != 0: 10.471678094007075 10.487040038 10.324381083 Calling exit ...