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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001617/0.001618, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.594 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 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1737, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002806/0.1765, allocations: 1.522 MB / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.1773, allocations: 435 kB / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.1774, allocations: 0 / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.1775, allocations: 0 / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.1775, allocations: 3.938 kB / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1777, allocations: 15.98 kB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.1778, allocations: 59.78 kB / 0.5956 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1779, allocations: 15.98 kB / 0.5956 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.178, allocations: 19.92 kB / 0.5956 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.178, allocations: 19.92 kB / 0.5956 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1781, allocations: 4 kB / 0.5956 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.1781, allocations: 4 kB / 0.5956 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1781, allocations: 7.984 kB / 0.5956 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1782, allocations: 23.86 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.1782, allocations: 39.81 kB / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1783, allocations: 0 / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1783, allocations: 8 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1783, allocations: 0 / 0.5957 GB, free: 7.887 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.0005095/0.1788, allocations: 359.6 kB / 0.5961 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1788, allocations: 8.031 kB / 0.5961 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1789, allocations: 12.83 kB / 0.5961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.179, allocations: 176.3 kB / 0.5962 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.179, allocations: 384 / 0.5962 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.179, allocations: 4.375 kB / 0.5962 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1792, allocations: 73.86 kB / 0.5963 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1792, allocations: 0 / 0.5963 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1792, allocations: 4 kB / 0.5963 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1792, allocations: 0 / 0.5963 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.1793, allocations: 23.98 kB / 0.5963 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1798, allocations: 304.7 kB / 0.5966 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1799, allocations: 54.56 kB / 0.5967 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.1799, allocations: 28.94 kB / 0.5967 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1799, allocations: 0 / 0.5967 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1801, allocations: 71.42 kB / 0.5968 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1801, allocations: 0 / 0.5968 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002212/0.1803, allocations: 101.5 kB / 0.5969 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1804, allocations: 59.41 kB / 0.5969 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.1805, allocations: 105.8 kB / 0.597 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1805, allocations: 29.7 kB / 0.5971 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1806, allocations: 92.11 kB / 0.5972 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1806, allocations: 24.03 kB / 0.5972 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1806, allocations: 25.7 kB / 0.5972 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1808, allocations: 322.8 kB / 0.5975 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.1808, allocations: 19.98 kB / 0.5975 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1809, allocations: 51.3 kB / 0.5976 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.181, allocations: 63.38 kB / 0.5976 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.181, allocations: 0 / 0.5976 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.1811, allocations: 97.8 kB / 0.5977 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1811, allocations: 8 kB / 0.5977 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1811, allocations: 8.016 kB / 0.5977 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1812, allocations: 4 kB / 0.5977 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.1812, allocations: 11.94 kB / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1812, allocations: 0 / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.1813, allocations: 11.92 kB / 0.5978 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1813, allocations: 4 kB / 0.5978 GB, free: 5.523 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.793e-05/0.1814, allocations: 121.8 kB / 0.5979 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.1814, allocations: 4 kB / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1815, allocations: 15.95 kB / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1815, allocations: 0 / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1815, allocations: 3.938 kB / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1815, allocations: 0 / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.1819, allocations: 362.3 kB / 0.5983 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1819, allocations: 4.062 kB / 0.5983 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.1819, allocations: 4 kB / 0.5983 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1819, allocations: 0 / 0.5983 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1819, allocations: 4 kB / 0.5983 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1819, allocations: 3.938 kB / 0.5983 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.182, allocations: 3.984 kB / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1821, allocations: 179.4 kB / 0.5984 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.1822, allocations: 85.05 kB / 0.5985 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1822, allocations: 3.984 kB / 0.5985 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.1823, allocations: 7.938 kB / 0.5985 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1823, allocations: 12.17 kB / 0.5986 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1823, allocations: 8 kB / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1824, allocations: 87.2 kB / 0.5986 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1824, allocations: 0 / 0.5986 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.1826, allocations: 12 kB / 0.5987 GB, free: 4.516 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.14e-05/0.1827, allocations: 101.7 kB / 0.5988 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1828, allocations: 55.92 kB / 0.5988 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1828, allocations: 0 / 0.5988 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.1829, allocations: 28.05 kB / 0.5988 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1832, allocations: 8 kB / 0.5988 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.1836, allocations: 179.1 kB / 0.599 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1838, allocations: 0.6848 MB / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.1839, allocations: 11.98 kB / 0.5997 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1839, allocations: 11.44 kB / 0.5997 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1839, allocations: 0 / 0.5997 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.002772/0.1867, allocations: 0.6864 MB / 0.6004 GB, free: 2.703 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)