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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005289/0.005289, allocations: 103.9 kB / 15.74 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 188.9 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 283 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1377, allocations: 86.97 MB / 0.7664 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002311/0.14, allocations: 1.542 MB / 0.7679 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.1409, allocations: 0.5731 MB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.1409, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.473e-05/0.141, allocations: 15.86 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.1411, allocations: 11.81 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1414, allocations: 95.77 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1416, allocations: 107.6 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.1417, allocations: 16.22 kB / 0.7687 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1418, allocations: 43.91 kB / 0.7687 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.1419, allocations: 47.81 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1419, allocations: 8 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1421, allocations: 87.84 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.1421, allocations: 19.92 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.1422, allocations: 39.73 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1424, allocations: 147.5 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1424, allocations: 0 / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1424, allocations: 0 / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1424, allocations: 0 / 0.769 GB, free: 5.734 MB / 0.5606 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.0007264/0.1431, allocations: 460.6 kB / 0.7695 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1432, allocations: 8.031 kB / 0.7695 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1432, allocations: 12.84 kB / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1434, allocations: 192.1 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1434, allocations: 4.375 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1434, allocations: 4.375 kB / 0.7697 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.1437, allocations: 117.8 kB / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1437, allocations: 0 / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1438, allocations: 4 kB / 0.7698 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1438, allocations: 4 kB / 0.7698 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.1441, allocations: 83.86 kB / 0.7699 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.1447, allocations: 344.7 kB / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1451, allocations: 98.44 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.1452, allocations: 56.88 kB / 0.7704 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.1453, allocations: 4 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1456, allocations: 119.2 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1456, allocations: 0 / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.00065/0.1462, allocations: 205.4 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1463, allocations: 59.47 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1464, allocations: 144 kB / 0.7709 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1464, allocations: 25.7 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1465, allocations: 99.98 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1465, allocations: 27.64 kB / 0.771 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1466, allocations: 29.7 kB / 0.771 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.1467, allocations: 326.8 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.1469, allocations: 59.89 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.1471, allocations: 56.23 kB / 0.7715 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.1474, allocations: 146.5 kB / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1474, allocations: 96 / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004627/0.1479, allocations: 207.1 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.1479, allocations: 33.7 kB / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1479, allocations: 0 / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.148, allocations: 0 / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1481, allocations: 15.98 kB / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1481, allocations: 3.984 kB / 0.7718 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1483, allocations: 23.89 kB / 0.7719 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1483, allocations: 4 kB / 0.7719 GB, free: 2.566 MB / 0.5606 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 8.598e-05/0.1484, allocations: 122.4 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.1484, allocations: 11.89 kB / 0.772 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.1485, allocations: 8.719 kB / 0.772 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1485, allocations: 7.984 kB / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1485, allocations: 0 / 0.772 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1485, allocations: 8 kB / 0.772 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1487, allocations: 201.5 kB / 0.7722 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1487, allocations: 4 kB / 0.7722 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1488, allocations: 15.98 kB / 0.7722 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1488, allocations: 3.938 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1488, allocations: 3.984 kB / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1488, allocations: 4 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1488, allocations: 0 / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.1493, allocations: 180.9 kB / 0.7724 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1493, allocations: 92.86 kB / 0.7725 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1493, allocations: 4 kB / 0.7725 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1495, allocations: 11.98 kB / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.1495, allocations: 19.91 kB / 0.7725 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1496, allocations: 4 kB / 0.7725 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.1496, allocations: 105.8 kB / 0.7726 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1496, allocations: 4 kB / 0.7727 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002467/0.1499, allocations: 43.92 kB / 0.7727 GB, free: 1.633 MB / 0.5606 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.0001422/0.15, allocations: 119.2 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.1505, allocations: 191.3 kB / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1505, allocations: 0 / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1507, allocations: 63.95 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1509, allocations: 8 kB / 0.7731 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.1514, allocations: 235.8 kB / 0.7733 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1517, allocations: 0.7002 MB / 0.774 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.1518, allocations: 11.98 kB / 0.774 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1518, allocations: 15.38 kB / 0.774 GB, free: 232 kB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1518, allocations: 0 / 0.774 GB, free: 232 kB / 0.5606 GB Notification: Performance of Templates: time 0.2753/0.4271, allocations: 1.407 MB / 0.7754 GB, free: 14.54 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)