Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.41/1.41, allocations: 287.4 MB / 302.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009844/0.0009845, allocations: 187.8 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006563/0.0006563, allocations: 84.42 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003154, allocations: 11.33 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.0011/0.1458, allocations: 1.261 MB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005383/0.1463, allocations: 488 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1464, allocations: 0 / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.524e-05/0.1465, allocations: 3.938 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.1465, allocations: 23.84 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.1467, allocations: 27.97 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.1468, allocations: 103.6 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.1469, allocations: 24.22 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.147, allocations: 43.84 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.1471, allocations: 43.81 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1471, allocations: 8 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.1471, allocations: 4 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.1471, allocations: 15.92 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1472, allocations: 37.64 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.324e-05/0.1473, allocations: 68.08 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1473, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1473, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1473, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005456/0.1478, allocations: 482.5 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1479, allocations: 12.03 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1479, allocations: 34.73 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1479, allocations: 16.84 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1481, allocations: 194 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1481, allocations: 12.36 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1481, allocations: 8.312 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1484, allocations: 153.7 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1484, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1484, allocations: 4 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1484, allocations: 0 / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1488, allocations: 131.9 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1492, allocations: 364.6 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1495, allocations: 158.5 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1497, allocations: 112.9 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1497, allocations: 3.984 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.15, allocations: 151.3 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.15, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006241/0.1506, allocations: 355.1 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.1507, allocations: 89.09 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.1507, allocations: 140.1 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1508, allocations: 37.69 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.1508, allocations: 99.98 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1508, allocations: 35.48 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.1508, allocations: 4 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.419e-05/0.1509, allocations: 330.7 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1511, allocations: 91.94 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.1513, allocations: 95.94 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1516, allocations: 283.3 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1516, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004334/0.1521, allocations: 310.2 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.1521, allocations: 74.05 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1521, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1521, allocations: 96 / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1523, allocations: 31.91 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1523, allocations: 4 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1524, allocations: 27.97 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1525, allocations: 15.92 kB / 0.9845 GB, free: 21.86 MB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.1525, allocations: 168.8 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.1526, allocations: 11.81 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.1526, allocations: 12.72 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1526, allocations: 0 / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1526, allocations: 0 / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1526, allocations: 3.984 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.749e-05/0.1527, allocations: 205.5 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1527, allocations: 0 / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1528, allocations: 27.91 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1528, allocations: 4 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1528, allocations: 4 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1528, allocations: 0 / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1529, allocations: 0 / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.1533, allocations: 319.4 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1533, allocations: 92.89 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1534, allocations: 8 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1535, allocations: 35.95 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.1536, allocations: 23.91 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1536, allocations: 8 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.1537, allocations: 115.1 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 0 / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001704/0.1538, allocations: 28 kB / 0.9855 GB, free: 20.71 MB / 0.6198 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005663/0.1544, allocations: 0.8559 MB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.1549, allocations: 362.7 kB / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1549, allocations: 0 / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1551, allocations: 203.2 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1553, allocations: 19.88 kB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1566, allocations: 1.002 MB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.206e-05/0.1567, allocations: 0.7043 MB / 0.9886 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.923e-05/0.1568, allocations: 11.98 kB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1568, allocations: 31.42 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1568, allocations: 0 / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4517/0.6085, allocations: 2.655 MB / 0.9912 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.6087, allocations: 197.1 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.084, allocations: 6.938 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)