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.0008111/0.0008111, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008783/0.0008783, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.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.8602/0.8602, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 83.41 MB / 0.5972 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001331/0.1297, allocations: 1.249 MB / 0.5984 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.1304, allocations: 0.5341 MB / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.1305, allocations: 0 / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.777e-05/0.1306, allocations: 7.922 kB / 0.599 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.1306, allocations: 15.88 kB / 0.599 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1309, allocations: 71.84 kB / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.131, allocations: 87.69 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.1311, allocations: 8.234 kB / 0.5992 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.581e-05/0.1312, allocations: 43.84 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.1313, allocations: 43.81 kB / 0.5992 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1313, allocations: 4 kB / 0.5992 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.1314, allocations: 47.91 kB / 0.5993 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1314, allocations: 19.91 kB / 0.5993 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1315, allocations: 37.64 kB / 0.5993 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1316, allocations: 96.05 kB / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1316, allocations: 0 / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1316, allocations: 0 / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.1316, allocations: 0 / 0.5994 GB, free: 5.793 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.0006285/0.1323, allocations: 448.7 kB / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1323, allocations: 8.031 kB / 0.5999 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.1323, allocations: 11.91 kB / 0.5999 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1325, allocations: 194.8 kB / 0.6001 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1325, allocations: 8 kB / 0.6001 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.1325, allocations: 7.984 kB / 0.6001 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.1328, allocations: 113.5 kB / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1328, allocations: 0 / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1328, allocations: 4 kB / 0.6002 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.1329, allocations: 4 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.1332, allocations: 107.9 kB / 0.6003 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.1337, allocations: 352.7 kB / 0.6006 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.134, allocations: 118.4 kB / 0.6007 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1342, allocations: 68.88 kB / 0.6008 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1342, allocations: 4 kB / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1345, allocations: 127.3 kB / 0.6009 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1345, allocations: 0 / 0.6009 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005758/0.1351, allocations: 241.4 kB / 0.6012 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1351, allocations: 55.41 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1352, allocations: 140.4 kB / 0.6014 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1352, allocations: 29.7 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.1353, allocations: 100 kB / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1353, allocations: 27.64 kB / 0.6015 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1353, allocations: 4 kB / 0.6015 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1354, allocations: 322.8 kB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1356, allocations: 63.89 kB / 0.6019 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1358, allocations: 67.95 kB / 0.6019 GB, free: 3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.136, allocations: 97.7 kB / 0.602 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.136, allocations: 4 kB / 0.602 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004053/0.1364, allocations: 211.2 kB / 0.6022 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1364, allocations: 41.66 kB / 0.6023 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1364, allocations: 0 / 0.6023 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1365, allocations: 3.984 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1366, allocations: 27.91 kB / 0.6023 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1366, allocations: 4 kB / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1367, allocations: 27.83 kB / 0.6023 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1368, allocations: 4 kB / 0.6023 GB, free: 2.562 MB / 0.4981 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: 1 * Algorithm blocks: 1 * 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.035e-05/0.1369, allocations: 121.8 kB / 0.6025 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.1369, allocations: 7.906 kB / 0.6025 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.1369, allocations: 16.67 kB / 0.6025 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1369, allocations: 7.984 kB / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1369, allocations: 0 / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1369, allocations: 0 / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1371, allocations: 194.1 kB / 0.6027 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1371, allocations: 4 kB / 0.6027 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1372, allocations: 23.97 kB / 0.6027 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1372, allocations: 0 / 0.6027 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1372, allocations: 4 kB / 0.6027 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1372, allocations: 7.891 kB / 0.6027 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1373, allocations: 3.938 kB / 0.6027 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1376, allocations: 204.8 kB / 0.6029 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1377, allocations: 81.02 kB / 0.603 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1377, allocations: 11.98 kB / 0.603 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1378, allocations: 19.98 kB / 0.603 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1379, allocations: 15.94 kB / 0.603 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1379, allocations: 7.984 kB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.573e-05/0.138, allocations: 103.3 kB / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.138, allocations: 0 / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002182/0.1382, allocations: 40 kB / 0.6032 GB, free: 1.605 MB / 0.4981 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 (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.0001318/0.1383, allocations: 123.2 kB / 0.6033 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1388, allocations: 199.3 kB / 0.6035 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1388, allocations: 0 / 0.6035 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.139, allocations: 75.88 kB / 0.6036 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.1391, allocations: 16.05 kB / 0.6036 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.1396, allocations: 251.1 kB / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1398, allocations: 0.7005 MB / 0.6045 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1399, allocations: 11.98 kB / 0.6045 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1399, allocations: 15.42 kB / 0.6045 GB, free: 156 kB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1399, allocations: 0 / 0.6045 GB, free: 156 kB / 0.4981 GB Notification: Performance of Templates: time 0.2084/0.3484, allocations: 1.24 MB / 0.6057 GB, free: 40.77 MB / 0.4981 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)