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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: 91.14 kB / 15.36 MB, free: 0.7383 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.007697/0.007697, allocations: 173.1 kB / 16.26 MB, free: 6.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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9981/0.9981, allocations: 143.4 MB / 434.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8 kB / 0.5166 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1517, allocations: 83.42 MB / 0.5981 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.00162/0.1534, allocations: 1.183 MB / 0.5992 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.154, allocations: 423.1 kB / 0.5996 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.1541, allocations: 0 / 0.5996 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.1541, allocations: 3.984 kB / 0.5996 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.1542, allocations: 11.92 kB / 0.5997 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.1543, allocations: 15.98 kB / 0.5997 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.1544, allocations: 59.8 kB / 0.5997 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1545, allocations: 15.92 kB / 0.5997 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.1546, allocations: 11.94 kB / 0.5998 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.1547, allocations: 23.89 kB / 0.5998 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1547, allocations: 4 kB / 0.5998 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1547, allocations: 0 / 0.5998 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.1547, allocations: 8 kB / 0.5998 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.1548, allocations: 45.56 kB / 0.5998 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.1549, allocations: 35.88 kB / 0.5999 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1549, allocations: 4 kB / 0.5999 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1549, allocations: 0 / 0.5999 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1549, allocations: 0 / 0.5999 GB, free: 5.609 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005556/0.1555, allocations: 359.7 kB / 0.6002 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1555, allocations: 8.031 kB / 0.6002 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1556, allocations: 8.844 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1557, allocations: 168.3 kB / 0.6004 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1557, allocations: 8.375 kB / 0.6004 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1558, allocations: 8.375 kB / 0.6004 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1559, allocations: 61.92 kB / 0.6005 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1559, allocations: 0 / 0.6005 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1559, allocations: 4 kB / 0.6005 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1559, allocations: 0 / 0.6005 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.156, allocations: 23.92 kB / 0.6005 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1565, allocations: 316.7 kB / 0.6008 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1566, allocations: 58.59 kB / 0.6009 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.1567, allocations: 24.95 kB / 0.6009 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1567, allocations: 0 / 0.6009 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1568, allocations: 75.38 kB / 0.6009 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1569, allocations: 0 / 0.6009 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000226/0.1571, allocations: 101.5 kB / 0.601 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1571, allocations: 59.41 kB / 0.6011 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.1572, allocations: 105.8 kB / 0.6012 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1572, allocations: 29.7 kB / 0.6012 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.1573, allocations: 84.14 kB / 0.6013 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1573, allocations: 35.58 kB / 0.6013 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.1574, allocations: 21.7 kB / 0.6014 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1575, allocations: 318.8 kB / 0.6017 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.1575, allocations: 19.98 kB / 0.6017 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.1576, allocations: 43.42 kB / 0.6017 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.654e-05/0.1577, allocations: 75.53 kB / 0.6018 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1577, allocations: 0 / 0.6018 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.1578, allocations: 85.62 kB / 0.6019 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1579, allocations: 8 kB / 0.6019 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1579, allocations: 0 / 0.6019 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1579, allocations: 0 / 0.6019 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.158, allocations: 15.92 kB / 0.6019 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.158, allocations: 4 kB / 0.6019 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.1581, allocations: 11.91 kB / 0.6019 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1581, allocations: 11.97 kB / 0.6019 GB, free: 3.25 MB / 0.4981 GB 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 8.416e-05/0.1582, allocations: 125.8 kB / 0.6021 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.1582, allocations: 0 / 0.6021 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1582, allocations: 7.969 kB / 0.6021 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1582, allocations: 4 kB / 0.6021 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1582, allocations: 0 / 0.6021 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1582, allocations: 0 / 0.6021 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1587, allocations: 362.4 kB / 0.6024 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1587, allocations: 0 / 0.6024 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.1587, allocations: 11.92 kB / 0.6024 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1587, allocations: 0 / 0.6024 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1587, allocations: 4.469 kB / 0.6024 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1587, allocations: 3.938 kB / 0.6024 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1587, allocations: 0 / 0.6024 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.1589, allocations: 187.4 kB / 0.6026 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.159, allocations: 84.95 kB / 0.6027 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.159, allocations: 8 kB / 0.6027 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1591, allocations: 15.98 kB / 0.6027 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1591, allocations: 4 kB / 0.6027 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1591, allocations: 3.984 kB / 0.6027 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.1592, allocations: 83.28 kB / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 4 kB / 0.6028 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1594, allocations: 12 kB / 0.6028 GB, free: 2.242 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: 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 9.634e-05/0.1595, allocations: 99.25 kB / 0.6029 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1596, allocations: 60.23 kB / 0.603 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1596, allocations: 0 / 0.603 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.1597, allocations: 23.94 kB / 0.603 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.16, allocations: 11.98 kB / 0.603 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.1604, allocations: 180.7 kB / 0.6032 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1606, allocations: 0.6854 MB / 0.6038 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.1607, allocations: 8.078 kB / 0.6039 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1607, allocations: 19.38 kB / 0.6039 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1607, allocations: 0 / 0.6039 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.00266/0.1634, allocations: 0.689 MB / 0.6045 GB, free: 432 kB / 0.4981 GB 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)