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.001138/0.001138, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001043/0.001043, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 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.8299/0.8299, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002385/0.3703, allocations: 1.456 MB / 0.5971 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.3708, allocations: 449.6 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.3709, allocations: 0 / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.3709, allocations: 7.938 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.371, allocations: 7.875 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.3711, allocations: 25.88 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.3712, allocations: 47.86 kB / 0.5976 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3713, allocations: 15.97 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.3714, allocations: 19.92 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.3714, allocations: 25.27 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3714, allocations: 7.938 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.3715, allocations: 4 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3715, allocations: 13.27 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3715, allocations: 23.92 kB / 0.5977 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.589e-05/0.3716, allocations: 43.81 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3716, allocations: 3.938 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3716, allocations: 1.531 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3716, allocations: 0 / 0.5978 GB, free: 13.98 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.0004067/0.3721, allocations: 360.6 kB / 0.5981 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3721, allocations: 12.03 kB / 0.5981 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.3721, allocations: 8.844 kB / 0.5981 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.3722, allocations: 171.2 kB / 0.5983 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3722, allocations: 4.375 kB / 0.5983 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3723, allocations: 4.375 kB / 0.5983 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.3724, allocations: 59 kB / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3724, allocations: 0 / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3724, allocations: 9.391 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3724, allocations: 4 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.3724, allocations: 19.98 kB / 0.5984 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.3728, allocations: 302.1 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.3729, allocations: 59.84 kB / 0.5987 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.373, allocations: 30.16 kB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.373, allocations: 0 / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.3731, allocations: 72.58 kB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3731, allocations: 4 kB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001818/0.3733, allocations: 106.7 kB / 0.5989 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.3733, allocations: 55.39 kB / 0.599 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.3734, allocations: 111.2 kB / 0.5991 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3734, allocations: 25.7 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.3734, allocations: 84.14 kB / 0.5992 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3735, allocations: 25.05 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3735, allocations: 21.72 kB / 0.5993 GB, free: 12.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.3736, allocations: 326.8 kB / 0.5996 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.3736, allocations: 17.38 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.3736, allocations: 50.92 kB / 0.5996 GB, free: 11.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.3737, allocations: 68.91 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3737, allocations: 4 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001086/0.3738, allocations: 97.52 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3739, allocations: 5.469 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3739, allocations: 4 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3739, allocations: 0 / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.3739, allocations: 11.94 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.374, allocations: 0.9062 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.374, allocations: 11.92 kB / 0.5998 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.374, allocations: 5.219 kB / 0.5998 GB, free: 11.65 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 5.724e-05/0.3741, allocations: 127 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.3741, allocations: 0 / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.3741, allocations: 7.969 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3742, allocations: 9.016 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3742, allocations: 0 / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3742, allocations: 3.938 kB / 0.6 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.3744, allocations: 359.2 kB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3744, allocations: 0.625 kB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.3745, allocations: 5.219 kB / 0.6003 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3745, allocations: 64 / 0.6003 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3745, allocations: 8 kB / 0.6003 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3745, allocations: 3.938 kB / 0.6003 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3745, allocations: 0.5 kB / 0.6003 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.3746, allocations: 188.7 kB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.3747, allocations: 78.27 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3747, allocations: 7.984 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.3747, allocations: 4.688 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3748, allocations: 11.98 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3748, allocations: 5.906 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.3748, allocations: 87.22 kB / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3748, allocations: 0 / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3751, allocations: 12 kB / 0.6007 GB, free: 10.65 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 7.676e-05/0.3751, allocations: 106.5 kB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3753, allocations: 55.84 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3753, allocations: 0.5 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.3753, allocations: 28.61 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3756, allocations: 9.281 kB / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.3759, allocations: 166.8 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.376, allocations: 0.6846 MB / 0.6017 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.241e-05/0.376, allocations: 5.469 kB / 0.6017 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3761, allocations: 11.44 kB / 0.6017 GB, free: 9.539 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3761, allocations: 0 / 0.6017 GB, free: 9.539 MB / 446.1 MB Notification: Performance of Templates: time 0.002681/0.3788, allocations: 0.7834 MB / 0.6025 GB, free: 8.793 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)