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.00128/0.00128, 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.00145/0.00145, allocations: 207.6 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.785 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.002586/0.002586, allocations: 300.6 kB / 312.7 MB, free: 2.59 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.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.002933/0.002933, allocations: 101.2 kB / 0.7395 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1726, allocations: 95.38 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002944/0.1755, allocations: 1.55 MB / 0.8341 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1767, allocations: 0.6055 MB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.1768, allocations: 4 kB / 0.8347 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1769, allocations: 11.86 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.177, allocations: 15.81 kB / 0.8348 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.1774, allocations: 111.7 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1776, allocations: 103.6 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.1777, allocations: 12.23 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1779, allocations: 59.77 kB / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.178, allocations: 39.83 kB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.178, allocations: 8 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1781, allocations: 87.91 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.1782, allocations: 27.91 kB / 0.8352 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.1782, allocations: 31.8 kB / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1785, allocations: 159.6 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1785, allocations: 0 / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1785, allocations: 0 / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1785, allocations: 0 / 0.8354 GB, free: 5.492 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.0007563/0.1792, allocations: 383.4 kB / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1793, allocations: 13.94 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.1793, allocations: 38.72 kB / 0.8358 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.1796, allocations: 32.88 kB / 0.8358 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1798, allocations: 144.9 kB / 0.8359 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1798, allocations: 4.312 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1798, allocations: 4.375 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1801, allocations: 113.6 kB / 0.8361 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1801, allocations: 4 kB / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1802, allocations: 0 / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.1802, allocations: 7.984 kB / 0.8361 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1805, allocations: 87.92 kB / 0.8362 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.1811, allocations: 307.7 kB / 0.8365 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1814, allocations: 86.52 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1816, allocations: 56.88 kB / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1816, allocations: 0 / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.1819, allocations: 115.3 kB / 0.8367 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 3.277e-06/0.1819, allocations: 3.984 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006401/0.1826, allocations: 205.5 kB / 0.8369 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1826, allocations: 55.41 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1827, allocations: 153.1 kB / 0.8371 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1828, allocations: 29.7 kB / 0.8371 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1828, allocations: 100 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1829, allocations: 27.8 kB / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.1829, allocations: 29.77 kB / 0.8373 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1831, allocations: 326.8 kB / 0.8376 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1833, allocations: 81.66 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1834, allocations: 85.66 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1838, allocations: 142.6 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1838, allocations: 3.938 kB / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004837/0.1843, allocations: 232.9 kB / 0.8381 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.1843, allocations: 29.7 kB / 0.8381 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1843, allocations: 480 / 0.8381 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1844, allocations: 4 kB / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1845, allocations: 19.97 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1845, allocations: 3.938 kB / 0.8382 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1846, allocations: 23.88 kB / 0.8382 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1847, allocations: 15.92 kB / 0.8382 GB, free: 2.348 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.0001168/0.1848, allocations: 122.5 kB / 0.8383 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1848, allocations: 7.953 kB / 0.8383 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1849, allocations: 12.7 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.1849, allocations: 4 kB / 0.8383 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1849, allocations: 3.938 kB / 0.8383 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1849, allocations: 4 kB / 0.8384 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1851, allocations: 156.7 kB / 0.8385 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1851, allocations: 0 / 0.8385 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1852, allocations: 15.98 kB / 0.8385 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1852, allocations: 0 / 0.8385 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1852, allocations: 15.98 kB / 0.8385 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1852, allocations: 0 / 0.8385 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1852, allocations: 4.016 kB / 0.8385 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.1856, allocations: 188.8 kB / 0.8387 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.1856, allocations: 11.89 kB / 0.8387 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1857, allocations: 0 / 0.8387 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1858, allocations: 19.98 kB / 0.8387 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.1859, allocations: 19.91 kB / 0.8388 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1859, allocations: 0 / 0.8388 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.537e-05/0.1859, allocations: 111.2 kB / 0.8389 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1859, allocations: 0 / 0.8389 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002541/0.1862, allocations: 39.94 kB / 0.8389 GB, free: 1.547 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.0008206/0.187, allocations: 0.7255 MB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1875, allocations: 212.9 kB / 0.8398 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1875, allocations: 3.938 kB / 0.8398 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1877, allocations: 59.94 kB / 0.8399 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1879, allocations: 19.98 kB / 0.8399 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1905, allocations: 1.832 MB / 0.8417 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.1906, allocations: 89.33 kB / 0.8418 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.566e-05/0.1907, allocations: 19.75 kB / 0.8418 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.1907, allocations: 27.42 kB / 0.8418 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.1907, allocations: 0 / 0.8418 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.2214, allocations: 3.411 MB / 0.8452 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.16, allocations: 14 kB / 0.8452 GB, free: 11.12 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: 15.42454681219533] Failed to read output from testmodel.py, exit status != 0: 11.267661814112216 11.297344282 11.114290502 Calling exit ...