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.0009163/0.0009159, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 185.5 kB / 16.92 MB, free: 6.684 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.363 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 1.004/1.004, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 0.517 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 83.41 MB / 0.5985 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001624/0.1784, allocations: 1.191 MB / 0.5996 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.1791, allocations: 423.1 kB / 0.6001 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.1792, allocations: 0 / 0.6001 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1792, allocations: 7.922 kB / 0.6001 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.1793, allocations: 4 kB / 0.6001 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1795, allocations: 23.91 kB / 0.6001 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.1796, allocations: 51.86 kB / 0.6001 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1797, allocations: 11.98 kB / 0.6001 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1797, allocations: 19.86 kB / 0.6002 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.1798, allocations: 19.92 kB / 0.6002 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1798, allocations: 4 kB / 0.6002 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.1798, allocations: 0 / 0.6002 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.1799, allocations: 19.91 kB / 0.6002 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.1799, allocations: 45.56 kB / 0.6003 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.752e-05/0.18, allocations: 27.94 kB / 0.6003 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.18, allocations: 0 / 0.6003 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.18, allocations: 0 / 0.6003 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.18, allocations: 0 / 0.6003 GB, free: 5.93 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.0004799/0.1805, allocations: 355.7 kB / 0.6006 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1806, allocations: 8.031 kB / 0.6006 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1806, allocations: 8.844 kB / 0.6006 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1807, allocations: 172.3 kB / 0.6008 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1808, allocations: 4.375 kB / 0.6008 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1808, allocations: 4.375 kB / 0.6008 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1809, allocations: 65.92 kB / 0.6009 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1809, allocations: 0 / 0.6009 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1809, allocations: 0 / 0.6009 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1809, allocations: 4 kB / 0.6009 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.181, allocations: 27.98 kB / 0.6009 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.1815, allocations: 300.7 kB / 0.6012 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1816, allocations: 58.56 kB / 0.6012 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1817, allocations: 32.88 kB / 0.6013 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1817, allocations: 0 / 0.6013 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1819, allocations: 79.39 kB / 0.6014 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1819, allocations: 0 / 0.6014 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002253/0.1821, allocations: 97.56 kB / 0.6014 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1822, allocations: 63.39 kB / 0.6015 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.1823, allocations: 101.8 kB / 0.6016 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1823, allocations: 33.7 kB / 0.6016 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.1824, allocations: 88.12 kB / 0.6017 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1824, allocations: 19.66 kB / 0.6017 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1824, allocations: 21.7 kB / 0.6018 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1826, allocations: 322.8 kB / 0.6021 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.1826, allocations: 15.98 kB / 0.6021 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.1827, allocations: 51.36 kB / 0.6021 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.1828, allocations: 63.38 kB / 0.6022 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1828, allocations: 0 / 0.6022 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001463/0.1829, allocations: 97.83 kB / 0.6023 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1829, allocations: 4 kB / 0.6023 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1829, allocations: 0 / 0.6023 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.183, allocations: 11.97 kB / 0.6023 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.183, allocations: 12 kB / 0.6023 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1831, allocations: 3.984 kB / 0.6023 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.1831, allocations: 11.91 kB / 0.6023 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1832, allocations: 4 kB / 0.6023 GB, free: 3.582 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 9.307e-05/0.1833, allocations: 123.2 kB / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.1833, allocations: 3.938 kB / 0.6024 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.1833, allocations: 11.95 kB / 0.6025 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1833, allocations: 4 kB / 0.6025 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1833, allocations: 4.062 kB / 0.6025 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1833, allocations: 0 / 0.6025 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.1837, allocations: 370.3 kB / 0.6028 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1837, allocations: 0 / 0.6028 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.1838, allocations: 4 kB / 0.6028 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1838, allocations: 4 kB / 0.6028 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1838, allocations: 4 kB / 0.6028 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1838, allocations: 8.391 kB / 0.6028 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1838, allocations: 0 / 0.6028 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.184, allocations: 179.4 kB / 0.603 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.184, allocations: 88.95 kB / 0.6031 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.184, allocations: 3.984 kB / 0.6031 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.1841, allocations: 7.938 kB / 0.6031 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1842, allocations: 15.98 kB / 0.6031 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1842, allocations: 4 kB / 0.6031 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.1842, allocations: 83.27 kB / 0.6032 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1843, allocations: 0 / 0.6032 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1845, allocations: 16 kB / 0.6032 GB, free: 2.562 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.25e-05/0.1846, allocations: 95.19 kB / 0.6033 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1847, allocations: 55.92 kB / 0.6034 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1847, allocations: 4.062 kB / 0.6034 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.1848, allocations: 23.98 kB / 0.6034 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1851, allocations: 8 kB / 0.6034 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.1855, allocations: 214.3 kB / 0.6036 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1858, allocations: 0.6887 MB / 0.6043 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1858, allocations: 11.44 kB / 0.6043 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1858, allocations: 0 / 0.6043 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.002069/0.1879, allocations: 0.8512 MB / 0.6051 GB, free: 0.5547 MB / 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)