Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6699/0.6699, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 185.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 399.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 83.81 kB / 476.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.71e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4791, allocations: 102.6 MB / 0.7211 GB, free: 9.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4793, allocations: 79.95 kB / 0.7212 GB, free: 9.742 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003741/0.4831, allocations: 1.059 MB / 0.7222 GB, free: 8.691 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4831, allocations: 4 kB / 0.7222 GB, free: 8.688 MB / 490.7 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.0004101/0.4835, allocations: 342.4 kB / 0.7225 GB, free: 8.309 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4836, allocations: 12.03 kB / 0.7225 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.4836, allocations: 3.906 kB / 0.7225 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4838, allocations: 174.9 kB / 0.7227 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4838, allocations: 4 kB / 0.7227 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.4838, allocations: 4 kB / 0.7227 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.034e-05/0.4839, allocations: 24 kB / 0.7227 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.484, allocations: 46.62 kB / 0.7228 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.484, allocations: 0.6562 kB / 0.7228 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.484, allocations: 3.984 kB / 0.7228 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.484, allocations: 0 / 0.7228 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.4845, allocations: 278.2 kB / 0.723 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4846, allocations: 46.56 kB / 0.7231 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.4847, allocations: 25.08 kB / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4847, allocations: 10.17 kB / 0.7231 GB, free: 7.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.841e-05/0.4848, allocations: 71.28 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4848, allocations: 0 / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001744/0.485, allocations: 65.69 kB / 0.7233 GB, free: 7.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.4851, allocations: 63.23 kB / 0.7233 GB, free: 7.371 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4851, allocations: 97 kB / 0.7234 GB, free: 7.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4852, allocations: 25.7 kB / 0.7234 GB, free: 7.238 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.4852, allocations: 84.14 kB / 0.7235 GB, free: 7.152 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4853, allocations: 27.64 kB / 0.7235 GB, free: 7.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.4853, allocations: 0 / 0.7235 GB, free: 7.125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4854, allocations: 318.8 kB / 0.7238 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.4854, allocations: 12 kB / 0.7239 GB, free: 6.793 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.4855, allocations: 43.42 kB / 0.7239 GB, free: 6.738 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.4855, allocations: 15.25 kB / 0.7239 GB, free: 6.727 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4855, allocations: 4 kB / 0.7239 GB, free: 6.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001402/0.4857, allocations: 89.45 kB / 0.724 GB, free: 6.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4857, allocations: 8 kB / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4857, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4857, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.4858, allocations: 15.92 kB / 0.724 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4858, allocations: 4 kB / 0.724 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.4859, allocations: 11.94 kB / 0.724 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4859, allocations: 4 kB / 0.724 GB, free: 6.586 MB / 490.7 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.486, allocations: 109 kB / 0.7241 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.486, allocations: 7.906 kB / 0.7242 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.4861, allocations: 8.047 kB / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4861, allocations: 0 / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4861, allocations: 0 / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4861, allocations: 0 / 0.7242 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.4864, allocations: 331 kB / 0.7245 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4865, allocations: 96 / 0.7245 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.4865, allocations: 11.92 kB / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4865, allocations: 0 / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.4865, allocations: 4 kB / 0.7245 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4865, allocations: 0 / 0.7245 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4865, allocations: 7.906 kB / 0.7245 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001617/0.4867, allocations: 165.9 kB / 0.7247 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.4868, allocations: 85 kB / 0.7247 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.4868, allocations: 0 / 0.7247 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.4869, allocations: 12.06 kB / 0.7248 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.4869, allocations: 8.266 kB / 0.7248 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.487, allocations: 4 kB / 0.7248 GB, free: 5.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.175e-05/0.487, allocations: 95.16 kB / 0.7249 GB, free: 5.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.4873, allocations: 12 kB / 0.7249 GB, free: 5.66 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001098/0.4874, allocations: 97.92 kB / 0.725 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.4875, allocations: 47.94 kB / 0.725 GB, free: 5.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4875, allocations: 0 / 0.725 GB, free: 5.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.4876, allocations: 23.94 kB / 0.725 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.4878, allocations: 14.67 kB / 0.725 GB, free: 5.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.488, allocations: 83.72 kB / 0.7251 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.4883, allocations: 0.6997 MB / 0.7258 GB, free: 4.645 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4883, allocations: 0 / 0.7258 GB, free: 4.645 MB / 490.7 MB Notification: Performance of Templates: time 0.002613/0.491, allocations: 0.7293 MB / 0.7265 GB, free: 3.922 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)