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.0007829/0.000783, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004308/0.004308, allocations: 173 kB / 16.27 MB, free: 6.652 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.107/1.107, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8205/0.8205, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 16 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 83.4 MB / 0.5978 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001289/0.12, allocations: 1.279 MB / 0.5991 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.1207, allocations: 0.5651 MB / 0.5996 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.1208, allocations: 0 / 0.5996 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.963e-05/0.1209, allocations: 7.922 kB / 0.5996 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.1209, allocations: 19.86 kB / 0.5996 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1212, allocations: 75.86 kB / 0.5997 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.1213, allocations: 91.62 kB / 0.5998 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.1213, allocations: 16.23 kB / 0.5998 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.1214, allocations: 39.84 kB / 0.5999 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1215, allocations: 39.81 kB / 0.5999 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1215, allocations: 8 kB / 0.5999 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.1216, allocations: 63.89 kB / 0.6 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.1217, allocations: 15.92 kB / 0.6 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1217, allocations: 61.44 kB / 0.6 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1219, allocations: 131.9 kB / 0.6002 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1219, allocations: 0 / 0.6002 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.916e-06/0.1219, allocations: 4 kB / 0.6002 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.1219, allocations: 3.938 kB / 0.6002 GB, free: 5.238 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.0006267/0.1225, allocations: 452.8 kB / 0.6006 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.1226, allocations: 8.031 kB / 0.6006 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1226, allocations: 8.844 kB / 0.6006 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1227, allocations: 199 kB / 0.6008 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1228, allocations: 384 / 0.6008 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1228, allocations: 4.375 kB / 0.6008 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1231, allocations: 117.9 kB / 0.6009 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1231, allocations: 3.938 kB / 0.6009 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1231, allocations: 3.984 kB / 0.6009 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1231, allocations: 4 kB / 0.6009 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.1234, allocations: 107.9 kB / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.1239, allocations: 356.7 kB / 0.6014 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1242, allocations: 118.4 kB / 0.6015 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1244, allocations: 64.88 kB / 0.6016 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1244, allocations: 8 kB / 0.6016 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.1247, allocations: 123.2 kB / 0.6017 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1247, allocations: 4 kB / 0.6017 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005867/0.1253, allocations: 237.4 kB / 0.6019 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.1253, allocations: 55.41 kB / 0.602 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.1254, allocations: 133.8 kB / 0.6021 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1255, allocations: 33.7 kB / 0.6021 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1255, allocations: 100 kB / 0.6022 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.1256, allocations: 31.7 kB / 0.6023 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.1256, allocations: 13.72 kB / 0.6023 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.1257, allocations: 330.8 kB / 0.6026 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1259, allocations: 59.95 kB / 0.6026 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.126, allocations: 79.94 kB / 0.6027 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1264, allocations: 166.6 kB / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1264, allocations: 0 / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004171/0.1268, allocations: 215.1 kB / 0.6031 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1268, allocations: 33.7 kB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1269, allocations: 0 / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.1269, allocations: 0 / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.127, allocations: 27.91 kB / 0.6031 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.127, allocations: 4 kB / 0.6031 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1271, allocations: 27.83 kB / 0.6032 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1272, allocations: 8 kB / 0.6032 GB, free: 1.914 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 (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 7.484e-05/0.1272, allocations: 121.8 kB / 0.6033 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1273, allocations: 7.906 kB / 0.6033 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1273, allocations: 12.72 kB / 0.6033 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1273, allocations: 4 kB / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1273, allocations: 0 / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1273, allocations: 8.453 kB / 0.6033 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.1275, allocations: 205.5 kB / 0.6035 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1275, allocations: 3.938 kB / 0.6035 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1276, allocations: 23.97 kB / 0.6035 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1276, allocations: 0 / 0.6035 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1276, allocations: 3.938 kB / 0.6036 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1276, allocations: 0 / 0.6036 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1276, allocations: 0 / 0.6036 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.128, allocations: 208.8 kB / 0.6037 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.1281, allocations: 85.02 kB / 0.6038 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1281, allocations: 4 kB / 0.6038 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1282, allocations: 19.97 kB / 0.6039 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1283, allocations: 11.98 kB / 0.6039 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1283, allocations: 4 kB / 0.6039 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.1284, allocations: 113.6 kB / 0.604 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 4 kB / 0.604 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002027/0.1286, allocations: 39.84 kB / 0.604 GB, free: 0.9531 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 (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.0001268/0.1287, allocations: 119.2 kB / 0.6041 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.1291, allocations: 207.3 kB / 0.6043 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1291, allocations: 0 / 0.6043 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1293, allocations: 75.89 kB / 0.6044 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.1295, allocations: 11.98 kB / 0.6044 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.1299, allocations: 263 kB / 0.6047 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1894/0.3193, allocations: 0.696 MB / 0.6053 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.368e-05/0.3195, allocations: 12.34 kB / 0.6054 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3195, allocations: 14.05 kB / 0.6054 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.3195, allocations: 2.406 kB / 0.6054 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.002825/0.3223, allocations: 1.262 MB / 0.6066 GB, free: 40.44 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)