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.001246/0.001247, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.00123/0.00123, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 291.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 94.55 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1362, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002565/0.1388, allocations: 1.538 MB / 0.6831 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.1398, allocations: 0.5734 MB / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.1398, allocations: 4 kB / 0.6837 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.841e-05/0.1399, allocations: 11.86 kB / 0.6837 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.14, allocations: 15.8 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1404, allocations: 95.75 kB / 0.6838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1405, allocations: 95.7 kB / 0.6839 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1406, allocations: 36.12 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1408, allocations: 35.91 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.1408, allocations: 39.84 kB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1409, allocations: 15.94 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.141, allocations: 95.83 kB / 0.6841 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1411, allocations: 15.98 kB / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1411, allocations: 47.72 kB / 0.6841 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1413, allocations: 135.5 kB / 0.6843 GB, free: 4.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1413, allocations: 0 / 0.6843 GB, free: 4.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1413, allocations: 0 / 0.6843 GB, free: 4.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1413, allocations: 0 / 0.6843 GB, free: 4.727 MB / 494.1 MB 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.0007124/0.1421, allocations: 456.8 kB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1421, allocations: 12.03 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.1422, allocations: 12.75 kB / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1423, allocations: 193.5 kB / 0.6849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1423, allocations: 8.375 kB / 0.6849 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1424, allocations: 12.36 kB / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1427, allocations: 105.9 kB / 0.685 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1427, allocations: 3.938 kB / 0.685 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1427, allocations: 4 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.1427, allocations: 4 kB / 0.685 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.143, allocations: 91.91 kB / 0.6851 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1436, allocations: 344.6 kB / 0.6855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.144, allocations: 98.44 kB / 0.6856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.1441, allocations: 56.88 kB / 0.6856 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1442, allocations: 4 kB / 0.6856 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.1444, allocations: 111.3 kB / 0.6857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1444, allocations: 0 / 0.6857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006095/0.1451, allocations: 205.4 kB / 0.6859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1451, allocations: 51.41 kB / 0.686 GB, free: 2.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1452, allocations: 143.4 kB / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1452, allocations: 33.7 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.1453, allocations: 104 kB / 0.6862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1453, allocations: 27.72 kB / 0.6863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1454, allocations: 25.7 kB / 0.6863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.1455, allocations: 322.8 kB / 0.6866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1457, allocations: 55.95 kB / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1459, allocations: 67.89 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.1462, allocations: 138.5 kB / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1462, allocations: 384 / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004441/0.1467, allocations: 207.2 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1467, allocations: 33.7 kB / 0.6871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1467, allocations: 4.031 kB / 0.6871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1467, allocations: 3.938 kB / 0.6871 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1469, allocations: 19.97 kB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1469, allocations: 0 / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.147, allocations: 15.98 kB / 0.6871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.147, allocations: 0 / 0.6871 GB, free: 1.562 MB / 494.1 MB 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.743e-05/0.1471, allocations: 133.8 kB / 0.6872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1472, allocations: 7.906 kB / 0.6872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1472, allocations: 12.72 kB / 0.6873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.1472, allocations: 4 kB / 0.6873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1472, allocations: 0 / 0.6873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1472, allocations: 3.984 kB / 0.6873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1474, allocations: 197.5 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1474, allocations: 4 kB / 0.6875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1475, allocations: 19.97 kB / 0.6875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1475, allocations: 0 / 0.6875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1476, allocations: 8 kB / 0.6875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1476, allocations: 4.016 kB / 0.6875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1476, allocations: 3.984 kB / 0.6875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.148, allocations: 176.9 kB / 0.6877 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.148, allocations: 92.95 kB / 0.6877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1481, allocations: 4 kB / 0.6878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1482, allocations: 19.97 kB / 0.6878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.1483, allocations: 11.98 kB / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1483, allocations: 0 / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.1484, allocations: 121.4 kB / 0.6879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1484, allocations: 3.938 kB / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1486, allocations: 35.94 kB / 0.6879 GB, free: 0.6211 MB / 494.1 MB 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.0001359/0.1487, allocations: 119.2 kB / 0.688 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.1492, allocations: 187.3 kB / 0.6882 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1492, allocations: 4.125 kB / 0.6882 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1494, allocations: 55.95 kB / 0.6883 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.1496, allocations: 26.58 kB / 0.6883 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2115/0.3611, allocations: 205 kB / 0.6885 GB, free: 18.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3613, allocations: 0.6989 MB / 0.6892 GB, free: 17.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.294e-05/0.3614, allocations: 13.2 kB / 0.6892 GB, free: 17.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.3614, allocations: 17.11 kB / 0.6892 GB, free: 17.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3615, allocations: 1.781 kB / 0.6892 GB, free: 17.62 MB / 494.1 MB Notification: Performance of Templates: time 0.003973/0.3654, allocations: 1.4 MB / 0.6906 GB, free: 17.61 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)