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.001691/0.001691, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002128/0.002128, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.407/1.407, allocations: 230.6 MB / 256.8 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.002501/0.002501, allocations: 273.6 kB / 313.5 MB, free: 2.602 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.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.00278/0.00278, allocations: 91.2 kB / 0.7402 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1636, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002629/0.1662, allocations: 1.553 MB / 0.8349 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1672, allocations: 0.6016 MB / 0.8355 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.1673, allocations: 3.938 kB / 0.8355 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.054e-05/0.1674, allocations: 7.922 kB / 0.8355 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.1674, allocations: 23.8 kB / 0.8355 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1679, allocations: 107.7 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.168, allocations: 99.64 kB / 0.8357 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.1681, allocations: 24.14 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1683, allocations: 55.78 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.1684, allocations: 43.83 kB / 0.8358 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1684, allocations: 4 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1685, allocations: 103.9 kB / 0.8359 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1686, allocations: 19.92 kB / 0.8359 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1687, allocations: 31.8 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1689, allocations: 155.6 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1689, allocations: 4 kB / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1689, allocations: 0 / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1689, allocations: 4 kB / 0.8361 GB, free: 5.477 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.0007448/0.1696, allocations: 383.4 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1697, allocations: 13.94 kB / 0.8365 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.768e-05/0.1697, allocations: 4.125 kB / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1697, allocations: 38.73 kB / 0.8366 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.17, allocations: 28.88 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1702, allocations: 143.3 kB / 0.8367 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1702, allocations: 8.375 kB / 0.8367 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1702, allocations: 4.375 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1706, allocations: 109.5 kB / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1706, allocations: 0 / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1706, allocations: 0 / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1706, allocations: 4 kB / 0.8368 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1709, allocations: 95.91 kB / 0.8369 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.1715, allocations: 303.8 kB / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1719, allocations: 82.52 kB / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.172, allocations: 56.88 kB / 0.8374 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.172, allocations: 4 kB / 0.8374 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.1723, allocations: 115.3 kB / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1723, allocations: 0 / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006524/0.173, allocations: 209.4 kB / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.173, allocations: 59.47 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1732, allocations: 144.6 kB / 0.8379 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1732, allocations: 37.69 kB / 0.8379 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1733, allocations: 100 kB / 0.838 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1733, allocations: 27.8 kB / 0.838 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.1734, allocations: 25.7 kB / 0.838 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1735, allocations: 322.8 kB / 0.8383 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.1737, allocations: 81.66 kB / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1739, allocations: 93.64 kB / 0.8385 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.1743, allocations: 146.5 kB / 0.8387 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1743, allocations: 0 / 0.8387 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004907/0.1748, allocations: 224.9 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.1748, allocations: 33.7 kB / 0.8389 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1748, allocations: 4 kB / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1748, allocations: 0 / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1749, allocations: 19.97 kB / 0.8389 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1749, allocations: 3.938 kB / 0.8389 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1751, allocations: 27.88 kB / 0.839 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1751, allocations: 11.98 kB / 0.839 GB, free: 2.336 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.0001006/0.1752, allocations: 118.4 kB / 0.8391 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1752, allocations: 7.953 kB / 0.8391 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1753, allocations: 20.7 kB / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.1753, allocations: 7.984 kB / 0.8391 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1753, allocations: 3.938 kB / 0.8391 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1753, allocations: 0 / 0.8391 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1755, allocations: 160.7 kB / 0.8393 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1755, allocations: 0 / 0.8393 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1756, allocations: 19.92 kB / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1756, allocations: 0 / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1756, allocations: 4 kB / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1756, allocations: 3.984 kB / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1756, allocations: 7.938 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.176, allocations: 189.3 kB / 0.8395 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.1761, allocations: 7.953 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1761, allocations: 0 / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1762, allocations: 15.98 kB / 0.8395 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1763, allocations: 15.91 kB / 0.8395 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1763, allocations: 4 kB / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.1763, allocations: 118.1 kB / 0.8396 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1763, allocations: 0 / 0.8396 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002427/0.1766, allocations: 35.94 kB / 0.8397 GB, free: 1.535 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.00081/0.1774, allocations: 0.7294 MB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1779, allocations: 216.9 kB / 0.8406 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1779, allocations: 0 / 0.8406 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1781, allocations: 55.95 kB / 0.8406 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1783, allocations: 14.48 kB / 0.8407 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.1808, allocations: 1.84 MB / 0.8425 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.025e-05/0.1809, allocations: 85.33 kB / 0.8425 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.067e-05/0.1809, allocations: 19.77 kB / 0.8426 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.181, allocations: 27.42 kB / 0.8426 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.181, allocations: 288 / 0.8426 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2034, allocations: 3.084 MB / 0.8456 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.92, allocations: 12.05 kB / 0.8456 GB, free: 11.45 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: 14.983280802029185] Failed to read output from testmodel.py, exit status != 0: 11.074687344953418 11.090266222 10.91839108 Calling exit ...