Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001463/0.001463, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002496/0.002496, allocations: 294.5 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.202/1.202, allocations: 180.6 MB / 0.5369 GB, free: 13.03 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002902/0.002902, allocations: 93.83 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1658, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002656/0.1685, allocations: 1.58 MB / 0.8342 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1696, allocations: 0.6599 MB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.1696, allocations: 3.938 kB / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.1697, allocations: 7.938 kB / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.1698, allocations: 23.78 kB / 0.8349 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.1702, allocations: 103.7 kB / 0.835 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1704, allocations: 99.64 kB / 0.8351 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1705, allocations: 20.22 kB / 0.8351 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1706, allocations: 47.84 kB / 0.8352 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.1707, allocations: 51.75 kB / 0.8352 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1708, allocations: 8 kB / 0.8352 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1709, allocations: 107.8 kB / 0.8353 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.171, allocations: 19.92 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.171, allocations: 35.8 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1713, allocations: 155.6 kB / 0.8355 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1713, allocations: 4 kB / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1713, allocations: 3.938 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1713, allocations: 4 kB / 0.8356 GB, free: 5.691 MB / 0.5762 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.0007416/0.172, allocations: 379.5 kB / 0.8359 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1721, allocations: 9.344 kB / 0.8359 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1721, allocations: 38.75 kB / 0.836 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.1724, allocations: 32.86 kB / 0.836 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1726, allocations: 140.9 kB / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1726, allocations: 12.38 kB / 0.8361 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1726, allocations: 8.359 kB / 0.8362 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1729, allocations: 101.7 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1729, allocations: 0 / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1729, allocations: 4 kB / 0.8363 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.173, allocations: 4 kB / 0.8363 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.1733, allocations: 91.91 kB / 0.8363 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.1739, allocations: 315.7 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.1742, allocations: 94.48 kB / 0.8367 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1744, allocations: 56.88 kB / 0.8368 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1744, allocations: 0 / 0.8368 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.1747, allocations: 115.4 kB / 0.8369 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1747, allocations: 3.938 kB / 0.8369 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006413/0.1753, allocations: 209.5 kB / 0.8371 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1754, allocations: 55.39 kB / 0.8372 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1755, allocations: 146 kB / 0.8373 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1755, allocations: 25.7 kB / 0.8373 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.1756, allocations: 108 kB / 0.8374 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1756, allocations: 31.75 kB / 0.8375 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.1757, allocations: 25.7 kB / 0.8375 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1758, allocations: 322.8 kB / 0.8378 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.176, allocations: 55.95 kB / 0.8378 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1762, allocations: 51.95 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.1766, allocations: 154.5 kB / 0.838 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1766, allocations: 0 / 0.838 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004479/0.177, allocations: 195.2 kB / 0.8382 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.177, allocations: 37.69 kB / 0.8383 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.177, allocations: 4 kB / 0.8383 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1771, allocations: 7.938 kB / 0.8383 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1772, allocations: 15.98 kB / 0.8383 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1772, allocations: 3.938 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1773, allocations: 27.86 kB / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1773, allocations: 0 / 0.8383 GB, free: 2.648 MB / 0.5762 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.0001045/0.1774, allocations: 126.4 kB / 0.8384 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.1775, allocations: 7.953 kB / 0.8384 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1775, allocations: 24.7 kB / 0.8385 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1775, allocations: 0 / 0.8385 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1775, allocations: 7.938 kB / 0.8385 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1775, allocations: 0 / 0.8385 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1777, allocations: 160.7 kB / 0.8386 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1777, allocations: 0 / 0.8386 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1778, allocations: 15.98 kB / 0.8386 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1778, allocations: 0 / 0.8386 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1778, allocations: 15.98 kB / 0.8387 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1778, allocations: 0 / 0.8387 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1778, allocations: 7.938 kB / 0.8387 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.1782, allocations: 180.9 kB / 0.8388 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.1783, allocations: 7.953 kB / 0.8388 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1783, allocations: 192 / 0.8388 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1784, allocations: 19.98 kB / 0.8389 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.1785, allocations: 23.84 kB / 0.8389 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1785, allocations: 0 / 0.8389 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.1786, allocations: 113.7 kB / 0.839 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1786, allocations: 0 / 0.839 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002339/0.1788, allocations: 39.92 kB / 0.839 GB, free: 1.836 MB / 0.5762 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.0007797/0.1796, allocations: 0.7333 MB / 0.8398 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.18, allocations: 179.2 kB / 0.8399 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.18, allocations: 0 / 0.8399 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1802, allocations: 59.95 kB / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1804, allocations: 19.91 kB / 0.84 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1828, allocations: 1.717 MB / 0.8417 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1831, allocations: 0.7002 MB / 0.8424 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.1832, allocations: 19.75 kB / 0.8424 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1832, allocations: 31.42 kB / 0.8424 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1832, allocations: 0 / 0.8424 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2117, allocations: 2.99 MB / 0.8453 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.46, allocations: 8.047 kB / 0.8453 GB, free: 11.37 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.583468824999727] Failed to read output from testmodel.py, exit status != 0: 10.570701651999116 10.611240393 10.433770234 Calling exit ...