Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 105.4 kB / 15.98 MB, free: 6.359 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.0009974/0.0009975, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.8663/0.8663, allocations: 143.1 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4597, allocations: 82.04 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002916/0.4627, allocations: 1.517 MB / 0.5959 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.4634, allocations: 449.3 kB / 0.5963 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.4635, allocations: 0 / 0.5963 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.4635, allocations: 3.938 kB / 0.5963 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.4636, allocations: 5.938 kB / 0.5964 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.4638, allocations: 19.92 kB / 0.5964 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.4639, allocations: 51.84 kB / 0.5964 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4641, allocations: 15.98 kB / 0.5964 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.4641, allocations: 30.95 kB / 0.5965 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.4642, allocations: 15.92 kB / 0.5965 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.4642, allocations: 4 kB / 0.5965 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.4643, allocations: 4 kB / 0.5965 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.4643, allocations: 11.98 kB / 0.5965 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.4643, allocations: 27.86 kB / 0.5965 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.4644, allocations: 31.94 kB / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4644, allocations: 0 / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4644, allocations: 0.5625 kB / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4644, allocations: 1.5 kB / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004637/0.4649, allocations: 357.4 kB / 0.5969 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.465, allocations: 13.53 kB / 0.5969 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.465, allocations: 4.844 kB / 0.5969 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.4651, allocations: 164.4 kB / 0.5971 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4651, allocations: 4.375 kB / 0.5971 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.4652, allocations: 9.125 kB / 0.5971 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4653, allocations: 63.42 kB / 0.5971 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4653, allocations: 0 / 0.5971 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4653, allocations: 0 / 0.5971 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4653, allocations: 4 kB / 0.5972 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.237e-05/0.4654, allocations: 23.98 kB / 0.5972 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.4658, allocations: 308.1 kB / 0.5975 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.4659, allocations: 62.48 kB / 0.5975 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.466, allocations: 25.73 kB / 0.5976 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.466, allocations: 0 / 0.5976 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4662, allocations: 80.72 kB / 0.5976 GB, free: 12.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4662, allocations: 1.5 kB / 0.5976 GB, free: 12.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002035/0.4664, allocations: 101.5 kB / 0.5977 GB, free: 12.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4664, allocations: 55.41 kB / 0.5978 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.4665, allocations: 106.4 kB / 0.5979 GB, free: 12.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4665, allocations: 29.7 kB / 0.5979 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.4666, allocations: 85.72 kB / 0.598 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.4666, allocations: 19.72 kB / 0.598 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4666, allocations: 29.7 kB / 0.598 GB, free: 12.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.4667, allocations: 324.2 kB / 0.5983 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.4667, allocations: 15.98 kB / 0.5984 GB, free: 12.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.4668, allocations: 48.17 kB / 0.5984 GB, free: 12.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.4669, allocations: 71.2 kB / 0.5985 GB, free: 12.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4669, allocations: 4 kB / 0.5985 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001149/0.467, allocations: 93.47 kB / 0.5986 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.467, allocations: 4 kB / 0.5986 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.467, allocations: 0 / 0.5986 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.467, allocations: 4 kB / 0.5986 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.4671, allocations: 13.52 kB / 0.5986 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4671, allocations: 0 / 0.5986 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.4672, allocations: 11.94 kB / 0.5986 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.4672, allocations: 4 kB / 0.5986 GB, free: 11.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.085e-05/0.4673, allocations: 127 kB / 0.5987 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.4673, allocations: 4 kB / 0.5987 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.4673, allocations: 8.875 kB / 0.5987 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4673, allocations: 4.281 kB / 0.5987 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4673, allocations: 5.125 kB / 0.5987 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4673, allocations: 0 / 0.5987 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.4677, allocations: 360 kB / 0.5991 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4677, allocations: 3.984 kB / 0.5991 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.4677, allocations: 9.516 kB / 0.5991 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4677, allocations: 0 / 0.5991 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4677, allocations: 4 kB / 0.5991 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4677, allocations: 7.938 kB / 0.5991 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4677, allocations: 0 / 0.5991 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.4679, allocations: 180.7 kB / 0.5993 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.4679, allocations: 78.39 kB / 0.5994 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4679, allocations: 8 kB / 0.5994 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.468, allocations: 9.047 kB / 0.5994 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.468, allocations: 4 kB / 0.5994 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4681, allocations: 11.98 kB / 0.5994 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.4681, allocations: 84.06 kB / 0.5995 GB, free: 10.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4681, allocations: 0 / 0.5995 GB, free: 10.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.4683, allocations: 17.5 kB / 0.5995 GB, free: 10.89 MB / 446.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.566e-05/0.4684, allocations: 95.25 kB / 0.5996 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4686, allocations: 61.28 kB / 0.5996 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4686, allocations: 0 / 0.5996 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.4686, allocations: 27.92 kB / 0.5997 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.4689, allocations: 17.52 kB / 0.5997 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.4693, allocations: 198.4 kB / 0.5999 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.4694, allocations: 0.6885 MB / 0.6005 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.4695, allocations: 12.5 kB / 0.6006 GB, free: 9.738 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4695, allocations: 3.938 kB / 0.6006 GB, free: 9.734 MB / 446.1 MB Notification: Performance of Templates: time 0.002233/0.4717, allocations: 0.8525 MB / 0.6014 GB, free: 8.914 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)