Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001445/0.001445, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001241/0.001241, allocations: 183 kB / 17.34 MB, free: 5.762 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8681/0.8681, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 71.94 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1514, allocations: 82.02 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.00266/0.154, allocations: 1.555 MB / 0.6778 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.155, allocations: 0.5804 MB / 0.6784 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1551, allocations: 0 / 0.6784 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.703e-05/0.1552, allocations: 7.875 kB / 0.6784 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.1552, allocations: 23.78 kB / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1556, allocations: 95.77 kB / 0.6785 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1557, allocations: 91.64 kB / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.1558, allocations: 16.22 kB / 0.6786 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1559, allocations: 55.77 kB / 0.6786 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.156, allocations: 43.83 kB / 0.6787 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.156, allocations: 8 kB / 0.6787 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1562, allocations: 91.84 kB / 0.6788 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1562, allocations: 15.92 kB / 0.6788 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1563, allocations: 39.78 kB / 0.6788 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1565, allocations: 143.5 kB / 0.679 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1565, allocations: 0 / 0.679 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1565, allocations: 0 / 0.679 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1565, allocations: 0 / 0.679 GB, free: 7.625 MB / 0.5137 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.0008154/0.1573, allocations: 467.3 kB / 0.6794 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1574, allocations: 11.97 kB / 0.6794 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1574, allocations: 8.891 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1576, allocations: 196.2 kB / 0.6796 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1576, allocations: 384 / 0.6796 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1576, allocations: 8.359 kB / 0.6796 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1579, allocations: 105.9 kB / 0.6797 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1579, allocations: 4 kB / 0.6797 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.158, allocations: 0 / 0.6797 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.158, allocations: 7.984 kB / 0.6797 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1583, allocations: 87.86 kB / 0.6798 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.159, allocations: 344.7 kB / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.1593, allocations: 90.45 kB / 0.6802 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1594, allocations: 56.88 kB / 0.6803 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1595, allocations: 0 / 0.6803 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.1598, allocations: 115.3 kB / 0.6804 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1598, allocations: 0 / 0.6804 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006573/0.1605, allocations: 209.8 kB / 0.6806 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1605, allocations: 63.34 kB / 0.6807 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1606, allocations: 141.6 kB / 0.6808 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1607, allocations: 25.7 kB / 0.6808 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1607, allocations: 108 kB / 0.6809 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1608, allocations: 19.86 kB / 0.6809 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.1608, allocations: 25.81 kB / 0.681 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.161, allocations: 330.7 kB / 0.6813 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.1612, allocations: 59.95 kB / 0.6813 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1613, allocations: 59.95 kB / 0.6814 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1617, allocations: 146.5 kB / 0.6815 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1617, allocations: 0 / 0.6815 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004717/0.1622, allocations: 199.2 kB / 0.6817 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.1622, allocations: 37.7 kB / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1622, allocations: 0 / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1622, allocations: 0 / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1624, allocations: 23.91 kB / 0.6818 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1624, allocations: 0 / 0.6818 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1625, allocations: 19.92 kB / 0.6818 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1625, allocations: 7.984 kB / 0.6818 GB, free: 4.457 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.0001113/0.1626, allocations: 125.8 kB / 0.6819 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.1627, allocations: 7.953 kB / 0.6819 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1627, allocations: 16.72 kB / 0.682 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.1627, allocations: 7.922 kB / 0.682 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1627, allocations: 8 kB / 0.682 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1627, allocations: 3.984 kB / 0.682 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1629, allocations: 193.5 kB / 0.6822 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1629, allocations: 3.984 kB / 0.6822 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.163, allocations: 19.98 kB / 0.6822 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.163, allocations: 0 / 0.6822 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.163, allocations: 4 kB / 0.6822 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.163, allocations: 0 / 0.6822 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.163, allocations: 0 / 0.6822 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.1635, allocations: 193 kB / 0.6824 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.1635, allocations: 89.05 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1636, allocations: 0 / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1637, allocations: 11.98 kB / 0.6825 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.1638, allocations: 11.98 kB / 0.6825 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1638, allocations: 4 kB / 0.6825 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.562e-05/0.1638, allocations: 109 kB / 0.6826 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 0 / 0.6826 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002425/0.1641, allocations: 51.86 kB / 0.6826 GB, free: 3.516 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.0001893/0.1643, allocations: 123.1 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.1648, allocations: 175.3 kB / 0.6829 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1648, allocations: 0 / 0.6829 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.165, allocations: 63.89 kB / 0.683 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1652, allocations: 14.8 kB / 0.683 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1657, allocations: 269.1 kB / 0.6832 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1661, allocations: 0.6963 MB / 0.6839 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1661, allocations: 19.42 kB / 0.6839 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1661, allocations: 4 kB / 0.6839 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of Templates: time 0.003396/0.1695, allocations: 1.523 MB / 0.6854 GB, free: 0.5781 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)