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/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.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/BuildSysPro 3.5.0/package.mo): time 0.7392/0.7392, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.0009895/0.0009895, allocations: 187.1 kB / 164.6 MB, free: 11.62 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.467/1.467, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.000885/0.000885, allocations: 89.16 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.708e-05, allocations: 2.781 kB / 0.5466 GB, free: 95.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.2615, allocations: 102.5 MB / 0.7217 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.2618, allocations: 67.97 kB / 0.7217 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003049/0.2649, allocations: 1.102 MB / 0.7228 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2649, allocations: 0 / 0.7228 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2649, allocations: 8 kB / 0.7228 GB, free: 3.258 MB / 0.4948 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.000385/0.2653, allocations: 342.5 kB / 0.7231 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2654, allocations: 8.031 kB / 0.7231 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.2654, allocations: 11.86 kB / 0.7232 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2655, allocations: 167.1 kB / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2656, allocations: 0 / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2656, allocations: 4 kB / 0.7233 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.152e-05/0.2657, allocations: 31.92 kB / 0.7233 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.2657, allocations: 49.69 kB / 0.7234 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.2658, allocations: 0 / 0.7234 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2658, allocations: 0 / 0.7234 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2658, allocations: 3.953 kB / 0.7234 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.2662, allocations: 277.4 kB / 0.7237 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.2663, allocations: 50.5 kB / 0.7237 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.2664, allocations: 25.08 kB / 0.7237 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2664, allocations: 0 / 0.7237 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2665, allocations: 67.39 kB / 0.7238 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/0.2665, allocations: 7.984 kB / 0.7238 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001642/0.2667, allocations: 77.58 kB / 0.7239 GB, free: 2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2668, allocations: 51.41 kB / 0.7239 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.2668, allocations: 104.9 kB / 0.724 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2669, allocations: 25.7 kB / 0.7241 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.2669, allocations: 84.14 kB / 0.7241 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.267, allocations: 27.64 kB / 0.7242 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.267, allocations: 0 / 0.7242 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2671, allocations: 318.8 kB / 0.7245 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.2671, allocations: 20.03 kB / 0.7245 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.2672, allocations: 51.23 kB / 0.7245 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.2672, allocations: 16 kB / 0.7245 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2672, allocations: 0 / 0.7245 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001175/0.2674, allocations: 81.61 kB / 0.7246 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2674, allocations: 9.594 kB / 0.7246 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2674, allocations: 0 / 0.7246 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2674, allocations: 4 kB / 0.7246 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.2675, allocations: 15.95 kB / 0.7247 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2675, allocations: 7.922 kB / 0.7247 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.2676, allocations: 11.91 kB / 0.7247 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2676, allocations: 0 / 0.7247 GB, free: 1.133 MB / 0.4948 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,$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.532e-05/0.2677, allocations: 107.1 kB / 0.7248 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.2677, allocations: 8 kB / 0.7248 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.2677, allocations: 12.39 kB / 0.7248 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2678, allocations: 0 / 0.7248 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2678, allocations: 8.016 kB / 0.7248 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2678, allocations: 0 / 0.7248 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2681, allocations: 323 kB / 0.7251 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2681, allocations: 4 kB / 0.7251 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.2682, allocations: 11.98 kB / 0.7251 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2682, allocations: 7.938 kB / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2682, allocations: 0 / 0.7251 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2682, allocations: 3.953 kB / 0.7251 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2682, allocations: 0 / 0.7251 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2683, allocations: 167.5 kB / 0.7253 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.2684, allocations: 92.89 kB / 0.7254 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2684, allocations: 0 / 0.7254 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.2685, allocations: 11.98 kB / 0.7254 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.2686, allocations: 12.41 kB / 0.7254 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.2686, allocations: 4 kB / 0.7254 GB, free: 304 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.2686, allocations: 91.2 kB / 0.7255 GB, free: 212 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2686, allocations: 0 / 0.7255 GB, free: 212 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002207/0.2689, allocations: 12 kB / 0.7255 GB, free: 200 kB / 0.4948 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 () * 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.0001036/0.269, allocations: 91.25 kB / 0.7256 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2691, allocations: 51.94 kB / 0.7256 GB, free: 44 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2691, allocations: 3.938 kB / 0.7257 GB, free: 40 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.2691, allocations: 27.92 kB / 0.7257 GB, free: 12 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2693, allocations: 5.891 kB / 0.7257 GB, free: 8 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.2697, allocations: 103.9 kB / 0.7258 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.27, allocations: 0.6924 MB / 0.7265 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.27, allocations: 4 kB / 0.7265 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.27, allocations: 11.44 kB / 0.7265 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.27, allocations: 0 / 0.7265 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.002507/0.2725, allocations: 0.6349 MB / 0.7271 GB, free: 14.52 MB / 0.5105 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)