Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 116 kB / 17.34 MB, free: 5.043 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.001326/0.001326, allocations: 202.6 kB / 18.33 MB, free: 4.059 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.359/1.359, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8033/0.8033, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.17 kB / 0.5911 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1379, allocations: 83.26 MB / 0.6724 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002585/0.1405, allocations: 1.542 MB / 0.6739 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1414, allocations: 0.5959 MB / 0.6745 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.1415, allocations: 0 / 0.6745 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.239e-05/0.1416, allocations: 7.875 kB / 0.6745 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.1416, allocations: 19.8 kB / 0.6745 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.142, allocations: 95.77 kB / 0.6746 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1422, allocations: 99.62 kB / 0.6747 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.1423, allocations: 16.22 kB / 0.6747 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1424, allocations: 39.84 kB / 0.6748 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.1425, allocations: 55.75 kB / 0.6748 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1425, allocations: 8 kB / 0.6748 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1426, allocations: 87.91 kB / 0.6749 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1427, allocations: 19.92 kB / 0.6749 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1427, allocations: 35.8 kB / 0.675 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1429, allocations: 151.4 kB / 0.6751 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1429, allocations: 0 / 0.6751 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1429, allocations: 0 / 0.6751 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1429, allocations: 3.938 kB / 0.6751 GB, free: 1.145 MB / 0.4981 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.0008083/0.1437, allocations: 456.6 kB / 0.6756 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1438, allocations: 8.031 kB / 0.6756 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.1438, allocations: 12.89 kB / 0.6756 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.144, allocations: 197 kB / 0.6758 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.144, allocations: 8.375 kB / 0.6758 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1441, allocations: 4.375 kB / 0.6758 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1444, allocations: 109.9 kB / 0.6759 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1444, allocations: 0 / 0.6759 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1444, allocations: 4 kB / 0.6759 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.1444, allocations: 4 kB / 0.6759 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1447, allocations: 83.92 kB / 0.676 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.1454, allocations: 352.6 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1457, allocations: 86.52 kB / 0.6764 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1459, allocations: 56.88 kB / 0.6765 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1459, allocations: 0 / 0.6765 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.1462, allocations: 115.3 kB / 0.6766 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/0.1462, allocations: 3.984 kB / 0.6766 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006315/0.1468, allocations: 205.5 kB / 0.6768 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1468, allocations: 55.41 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.147, allocations: 143.7 kB / 0.677 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.147, allocations: 29.77 kB / 0.677 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1471, allocations: 107.9 kB / 0.6771 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1471, allocations: 31.8 kB / 0.6771 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.1472, allocations: 29.7 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1473, allocations: 322.8 kB / 0.6774 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1475, allocations: 55.94 kB / 0.6775 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.1477, allocations: 60.23 kB / 0.6776 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.148, allocations: 150.6 kB / 0.6777 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.148, allocations: 3.938 kB / 0.6777 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004511/0.1485, allocations: 195.2 kB / 0.6779 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.1485, allocations: 37.69 kB / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1485, allocations: 0 / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1485, allocations: 0 / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1487, allocations: 19.98 kB / 0.6779 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1487, allocations: 0 / 0.6779 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1488, allocations: 31.86 kB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1488, allocations: 0 / 0.678 GB, free: 13.98 MB / 0.5137 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.0001038/0.1489, allocations: 121.9 kB / 0.6781 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1489, allocations: 7.953 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.149, allocations: 16.7 kB / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.149, allocations: 4 kB / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.149, allocations: 4 kB / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.149, allocations: 3.938 kB / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1492, allocations: 201.5 kB / 0.6783 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1492, allocations: 0 / 0.6783 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1493, allocations: 15.98 kB / 0.6783 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1493, allocations: 0 / 0.6783 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1493, allocations: 7.984 kB / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1493, allocations: 0 / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1493, allocations: 0 / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1498, allocations: 192.8 kB / 0.6785 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.1498, allocations: 89.06 kB / 0.6786 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1499, allocations: 0 / 0.6786 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.15, allocations: 11.98 kB / 0.6786 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.15, allocations: 15.98 kB / 0.6786 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.15, allocations: 7.984 kB / 0.6786 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.076e-05/0.1501, allocations: 104.6 kB / 0.6787 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1501, allocations: 0 / 0.6787 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002326/0.1504, allocations: 39.88 kB / 0.6788 GB, free: 13.05 MB / 0.5137 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.0001669/0.1505, allocations: 123.2 kB / 0.6789 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.151, allocations: 183.3 kB / 0.6791 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.151, allocations: 0 / 0.6791 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1512, allocations: 63.94 kB / 0.6791 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1515, allocations: 12.25 kB / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.152, allocations: 235.5 kB / 0.6794 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1523, allocations: 0.6929 MB / 0.6801 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.1524, allocations: 11.98 kB / 0.6801 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1524, allocations: 15.42 kB / 0.6801 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1524, allocations: 0 / 0.6801 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.004228/0.1566, allocations: 1.434 MB / 0.6815 GB, free: 10.23 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480]