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.001769/0.001769, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001395/0.001395, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.781 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.002446/0.002446, allocations: 295.4 kB / 312.7 MB, free: 2.688 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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.002898/0.002898, allocations: 109.6 kB / 0.7395 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.162, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002775/0.1647, allocations: 1.556 MB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1658, allocations: 0.6015 MB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.1659, allocations: 3.938 kB / 0.8347 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.166, allocations: 7.922 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.166, allocations: 31.72 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1665, allocations: 103.7 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1666, allocations: 103.6 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.1667, allocations: 8.234 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1669, allocations: 51.83 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.167, allocations: 51.77 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.167, allocations: 8 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1671, allocations: 91.89 kB / 0.8352 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1672, allocations: 19.92 kB / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.1672, allocations: 27.86 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1675, allocations: 159.6 kB / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1675, allocations: 0 / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1675, allocations: 0 / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1675, allocations: 0 / 0.8354 GB, free: 5.512 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.0007411/0.1682, allocations: 395.4 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1683, allocations: 9.344 kB / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1683, allocations: 42.73 kB / 0.8358 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.1686, allocations: 28.86 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1688, allocations: 134.4 kB / 0.8359 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1688, allocations: 4.375 kB / 0.8359 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1688, allocations: 12.31 kB / 0.836 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1691, allocations: 105.7 kB / 0.8361 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1691, allocations: 0 / 0.8361 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1691, allocations: 3.984 kB / 0.8361 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.1692, allocations: 11.98 kB / 0.8361 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1695, allocations: 83.92 kB / 0.8362 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.1701, allocations: 311.8 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1704, allocations: 82.52 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1706, allocations: 56.88 kB / 0.8366 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1706, allocations: 0 / 0.8366 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.1709, allocations: 123.2 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1709, allocations: 4 kB / 0.8367 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000652/0.1715, allocations: 197.5 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1716, allocations: 55.52 kB / 0.8369 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1717, allocations: 156.6 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1717, allocations: 25.7 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.1718, allocations: 116.1 kB / 0.8372 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1718, allocations: 27.81 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1719, allocations: 25.7 kB / 0.8373 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.172, allocations: 318.8 kB / 0.8376 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.1722, allocations: 85.66 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1724, allocations: 81.66 kB / 0.8377 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.1728, allocations: 150.5 kB / 0.8379 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1728, allocations: 0 / 0.8379 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004802/0.1733, allocations: 220.9 kB / 0.8381 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.1733, allocations: 41.69 kB / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1733, allocations: 0 / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1733, allocations: 0 / 0.8381 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1735, allocations: 15.98 kB / 0.8382 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1735, allocations: 7.938 kB / 0.8382 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1736, allocations: 31.8 kB / 0.8382 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1736, allocations: 4 kB / 0.8382 GB, free: 2.367 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.0001036/0.1737, allocations: 114.6 kB / 0.8383 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1738, allocations: 11.95 kB / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.1738, allocations: 20.69 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.1738, allocations: 4 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1738, allocations: 3.938 kB / 0.8383 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1738, allocations: 7.938 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.174, allocations: 160.7 kB / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.174, allocations: 0 / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1741, allocations: 15.98 kB / 0.8385 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1741, allocations: 0 / 0.8385 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1741, allocations: 3.984 kB / 0.8385 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1741, allocations: 0 / 0.8385 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1741, allocations: 4.406 kB / 0.8385 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1746, allocations: 196.8 kB / 0.8387 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1746, allocations: 7.953 kB / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1746, allocations: 0 / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1747, allocations: 15.97 kB / 0.8387 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.1748, allocations: 15.92 kB / 0.8388 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1748, allocations: 8 kB / 0.8388 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.1749, allocations: 107.2 kB / 0.8389 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 0.8389 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002516/0.1751, allocations: 39.94 kB / 0.8389 GB, free: 1.566 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.0007978/0.1759, allocations: 0.7372 MB / 0.8396 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.1764, allocations: 205 kB / 0.8398 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1764, allocations: 0 / 0.8398 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1766, allocations: 63.94 kB / 0.8399 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1768, allocations: 20 kB / 0.8399 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1793, allocations: 1.84 MB / 0.8417 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.1794, allocations: 85.31 kB / 0.8418 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.1795, allocations: 16.05 kB / 0.8418 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1796, allocations: 35.42 kB / 0.8418 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1796, allocations: 0 / 0.8418 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2087, allocations: 3.412 MB / 0.8452 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.96, allocations: 8.938 kB / 0.8452 GB, free: 11.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.927888318896294] Failed to read output from testmodel.py, exit status != 0: 11.068273724988103 11.092056007 10.920386346 Calling exit ...