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.001286/0.001286, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00133/0.00133, allocations: 217 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.002489/0.002489, allocations: 276.4 kB / 313.5 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="cs",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.00272/0.00272, allocations: 107 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1719, allocations: 95.37 MB / 0.8335 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003166/0.1751, allocations: 1.591 MB / 0.835 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1764, allocations: 0.6521 MB / 0.8357 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.1765, allocations: 7.938 kB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.1766, allocations: 11.92 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.1766, allocations: 15.8 kB / 0.8357 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1771, allocations: 107.7 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1773, allocations: 103.6 kB / 0.8359 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1774, allocations: 16.23 kB / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1776, allocations: 43.84 kB / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1777, allocations: 51.75 kB / 0.836 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1777, allocations: 8 kB / 0.836 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1779, allocations: 103.9 kB / 0.8361 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.178, allocations: 27.91 kB / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1781, allocations: 35.8 kB / 0.8362 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1783, allocations: 159.6 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1783, allocations: 3.938 kB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1783, allocations: 0 / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.1783, allocations: 0 / 0.8363 GB, free: 5.73 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.0008821/0.1792, allocations: 387.5 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1793, allocations: 9.344 kB / 0.8367 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.569e-05/0.1793, allocations: 4.188 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.1793, allocations: 34.75 kB / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.1796, allocations: 32.86 kB / 0.8368 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1799, allocations: 144.9 kB / 0.8369 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1799, allocations: 4.375 kB / 0.8369 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1799, allocations: 4.375 kB / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1802, allocations: 109.5 kB / 0.837 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1802, allocations: 0 / 0.837 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1802, allocations: 4 kB / 0.837 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.1803, allocations: 4 kB / 0.837 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.1806, allocations: 87.91 kB / 0.8371 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.1813, allocations: 327.6 kB / 0.8374 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1816, allocations: 90.5 kB / 0.8375 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1818, allocations: 56.88 kB / 0.8376 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1818, allocations: 0 / 0.8376 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.1822, allocations: 119.3 kB / 0.8377 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1822, allocations: 0 / 0.8377 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006905/0.1828, allocations: 205.5 kB / 0.8379 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1829, allocations: 55.41 kB / 0.8379 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.183, allocations: 141.8 kB / 0.8381 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1831, allocations: 29.7 kB / 0.8381 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1832, allocations: 108 kB / 0.8382 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1832, allocations: 20.09 kB / 0.8382 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.1832, allocations: 25.7 kB / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1834, allocations: 330.8 kB / 0.8385 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1836, allocations: 55.89 kB / 0.8386 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1838, allocations: 59.95 kB / 0.8387 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.1841, allocations: 142.5 kB / 0.8388 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1841, allocations: 4 kB / 0.8388 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000487/0.1846, allocations: 203.2 kB / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.1847, allocations: 33.7 kB / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1847, allocations: 0 / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1847, allocations: 0 / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1848, allocations: 19.97 kB / 0.839 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1848, allocations: 3.938 kB / 0.839 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.185, allocations: 31.88 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.185, allocations: 7.984 kB / 0.8391 GB, free: 2.676 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.0001212/0.1851, allocations: 122.4 kB / 0.8392 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1851, allocations: 7.953 kB / 0.8392 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1852, allocations: 16.7 kB / 0.8392 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1852, allocations: 4 kB / 0.8392 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1852, allocations: 3.938 kB / 0.8392 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1852, allocations: 4 kB / 0.8392 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1855, allocations: 168.7 kB / 0.8394 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1855, allocations: 0 / 0.8394 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1856, allocations: 11.98 kB / 0.8394 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1856, allocations: 4 kB / 0.8394 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1856, allocations: 3.984 kB / 0.8394 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1856, allocations: 0 / 0.8394 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1856, allocations: 3.938 kB / 0.8394 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1861, allocations: 192.9 kB / 0.8396 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1861, allocations: 7.953 kB / 0.8396 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1861, allocations: 0 / 0.8396 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1862, allocations: 15.98 kB / 0.8396 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1863, allocations: 19.91 kB / 0.8396 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1863, allocations: 192 / 0.8396 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001349/0.1864, allocations: 113.7 kB / 0.8398 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1864, allocations: 7.938 kB / 0.8398 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002501/0.1867, allocations: 39.94 kB / 0.8398 GB, free: 1.867 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.0008498/0.1875, allocations: 0.7255 MB / 0.8405 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.188, allocations: 187.2 kB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.188, allocations: 0 / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.1882, allocations: 63.89 kB / 0.8407 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1885, allocations: 14.33 kB / 0.8408 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.191, allocations: 1.724 MB / 0.8424 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1913, allocations: 0.7002 MB / 0.8431 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.1914, allocations: 19.75 kB / 0.8431 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.1915, allocations: 31.42 kB / 0.8432 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.1915, allocations: 0 / 0.8432 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.214, allocations: 3.012 MB / 0.8461 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 13.44 kB / 0.8461 GB, free: 11.38 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 os._exit(0), Time elapsed: 15.2916784749832] Failed to read output from testmodel.py, exit status != 0: 11.308191765972879 11.329879245 11.147175289 Calling exit ...