Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.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.001238/0.001238, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.001324/0.001324, allocations: 208 kB / 20.09 MB, free: 2.996 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9881/0.9881, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.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.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",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.002992/0.002992, allocations: 74.7 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1628, allocations: 89.13 MB / 0.7231 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002843/0.1657, allocations: 1.579 MB / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1668, allocations: 0.6446 MB / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.1669, allocations: 0 / 0.7253 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.167, allocations: 15.86 kB / 0.7253 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.1671, allocations: 23.8 kB / 0.7253 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1675, allocations: 107.7 kB / 0.7254 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1677, allocations: 91.69 kB / 0.7255 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1678, allocations: 20.22 kB / 0.7255 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1679, allocations: 47.78 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.168, allocations: 51.81 kB / 0.7256 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.168, allocations: 8 kB / 0.7256 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1682, allocations: 95.84 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.1683, allocations: 23.92 kB / 0.7258 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1683, allocations: 47.72 kB / 0.7258 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1685, allocations: 159.6 kB / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1685, allocations: 0 / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1686, allocations: 0 / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1686, allocations: 0 / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008051/0.1694, allocations: 456.6 kB / 0.7264 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1694, allocations: 12.03 kB / 0.7264 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1694, allocations: 38.75 kB / 0.7264 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.1697, allocations: 36.81 kB / 0.7265 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.17, allocations: 198.1 kB / 0.7267 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.17, allocations: 4.375 kB / 0.7267 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.17, allocations: 8.375 kB / 0.7267 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1703, allocations: 109.6 kB / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1704, allocations: 0 / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1704, allocations: 4 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.1704, allocations: 11.98 kB / 0.7268 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.1707, allocations: 83.92 kB / 0.7269 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.1715, allocations: 348.6 kB / 0.7272 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.1718, allocations: 90.5 kB / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.172, allocations: 56.88 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.172, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.1723, allocations: 115.4 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1723, allocations: 4 kB / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007118/0.173, allocations: 209.4 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1731, allocations: 51.41 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1732, allocations: 152.8 kB / 0.7279 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1733, allocations: 29.69 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1733, allocations: 100 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1734, allocations: 23.84 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1734, allocations: 29.7 kB / 0.728 GB, free: 14.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1736, allocations: 326.8 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1738, allocations: 55.95 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.174, allocations: 55.95 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1744, allocations: 146.5 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1744, allocations: 0 / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005254/0.1749, allocations: 211.2 kB / 0.7288 GB, free: 13.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.1749, allocations: 29.7 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1749, allocations: 4 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1749, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1751, allocations: 19.97 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1751, allocations: 3.938 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1753, allocations: 27.92 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1753, allocations: 0 / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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.0001063/0.1754, allocations: 126.3 kB / 0.729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1754, allocations: 11.91 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1755, allocations: 16.72 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.1755, allocations: 0 / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1755, allocations: 11.88 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1755, allocations: 3.984 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1757, allocations: 185.6 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1757, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1758, allocations: 27.91 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1758, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1758, allocations: 4 kB / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1758, allocations: 0 / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.1759, allocations: 3.938 kB / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1763, allocations: 185 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1764, allocations: 89.02 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1764, allocations: 3.984 kB / 0.7295 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1766, allocations: 15.92 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.1766, allocations: 19.86 kB / 0.7295 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1766, allocations: 4 kB / 0.7295 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.832e-05/0.1767, allocations: 107.2 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000267/0.177, allocations: 39.94 kB / 0.7297 GB, free: 12.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000885/0.1779, allocations: 0.7333 MB / 0.7304 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1784, allocations: 175.3 kB / 0.7306 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1784, allocations: 0 / 0.7306 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.1786, allocations: 71.86 kB / 0.7306 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1788, allocations: 21.36 kB / 0.7307 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.1816, allocations: 1.706 MB / 0.7323 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.182, allocations: 0.7041 MB / 0.733 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.269e-05/0.182, allocations: 19.97 kB / 0.733 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1821, allocations: 27.42 kB / 0.7331 GB, free: 9.348 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1821, allocations: 0 / 0.7331 GB, free: 9.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.2091, allocations: 2.806 MB / 0.7358 GB, free: 6.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.253, allocations: 11.75 kB / 0.7358 GB, free: 6.641 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker_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_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.244885846041143] Failed to read output from testmodel.py, exit status != 0: 8.325557708041742 8.351897998 8.178534591 Calling exit ...