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.8187/0.8187, allocations: 128.8 MB / 143.7 MB, free: 2.316 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.001053/0.001053, allocations: 190.1 kB / 173.8 MB, free: 6.105 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.55/1.55, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009493/0.0009489, allocations: 93.98 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8.969 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.3069, allocations: 103.3 MB / 0.7362 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.3073, allocations: 75.95 kB / 0.7363 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003278/0.3106, allocations: 1.11 MB / 0.7373 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3106, allocations: 0 / 0.7373 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3106, allocations: 4 kB / 0.7373 GB, free: 5.918 MB / 0.5105 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.0004644/0.3111, allocations: 355.2 kB / 0.7377 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3111, allocations: 12.03 kB / 0.7377 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3112, allocations: 3.953 kB / 0.7377 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3113, allocations: 174.9 kB / 0.7379 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3114, allocations: 4 kB / 0.7379 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3114, allocations: 11.98 kB / 0.7379 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3115, allocations: 49.69 kB / 0.7379 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3116, allocations: 4 kB / 0.7379 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3116, allocations: 0 / 0.7379 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3116, allocations: 0 / 0.7379 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.3117, allocations: 35.88 kB / 0.738 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.3122, allocations: 300.8 kB / 0.7383 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3123, allocations: 58.59 kB / 0.7383 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.3123, allocations: 0 / 0.7383 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3125, allocations: 71.56 kB / 0.7384 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3125, allocations: 0 / 0.7384 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002359/0.3128, allocations: 101.5 kB / 0.7385 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3129, allocations: 55.41 kB / 0.7385 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.3129, allocations: 101 kB / 0.7386 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.313, allocations: 29.7 kB / 0.7387 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.313, allocations: 92.05 kB / 0.7387 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3131, allocations: 23.72 kB / 0.7388 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.3131, allocations: 4 kB / 0.7388 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3132, allocations: 314.8 kB / 0.7391 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.3132, allocations: 23.92 kB / 0.7391 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.3133, allocations: 53.61 kB / 0.7391 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.3133, allocations: 12 kB / 0.7392 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3133, allocations: 0 / 0.7392 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000139/0.3135, allocations: 101.9 kB / 0.7393 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3135, allocations: 4 kB / 0.7393 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3135, allocations: 7.984 kB / 0.7393 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3135, allocations: 7.953 kB / 0.7393 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.3136, allocations: 11.94 kB / 0.7393 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3136, allocations: 4.031 kB / 0.7393 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.3137, allocations: 11.98 kB / 0.7393 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3137, allocations: 4 kB / 0.7393 GB, free: 3.691 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3138, allocations: 117.8 kB / 0.7394 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3138, allocations: 3.906 kB / 0.7394 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.3139, allocations: 15.95 kB / 0.7394 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3139, allocations: 4.328 kB / 0.7394 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3139, allocations: 7.938 kB / 0.7394 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3139, allocations: 0 / 0.7394 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.3143, allocations: 354.5 kB / 0.7398 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3143, allocations: 0 / 0.7398 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.3144, allocations: 4 kB / 0.7398 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.3144, allocations: 3.953 kB / 0.7398 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3144, allocations: 4 kB / 0.7398 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3144, allocations: 4 kB / 0.7398 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3144, allocations: 0 / 0.7398 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3146, allocations: 183.4 kB / 0.74 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.3146, allocations: 81.05 kB / 0.7401 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3147, allocations: 7.938 kB / 0.7401 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.3147, allocations: 12 kB / 0.7401 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3148, allocations: 7.984 kB / 0.7401 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3148, allocations: 4 kB / 0.7401 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.3149, allocations: 87.27 kB / 0.7402 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3149, allocations: 3.938 kB / 0.7402 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002138/0.3151, allocations: 12 kB / 0.7402 GB, free: 2.688 MB / 0.5105 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 (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.0001287/0.3152, allocations: 107 kB / 0.7403 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.3154, allocations: 47.92 kB / 0.7403 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3154, allocations: 0 / 0.7403 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.3154, allocations: 32.05 kB / 0.7404 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3156, allocations: 8.156 kB / 0.7404 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.3161, allocations: 185 kB / 0.7405 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3164, allocations: 0.6926 MB / 0.7412 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.3165, allocations: 7.984 kB / 0.7412 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.3165, allocations: 11.44 kB / 0.7412 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/0.3165, allocations: 0 / 0.7412 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of Templates: time 0.002723/0.3192, allocations: 0.6587 MB / 0.7419 GB, free: 0.8906 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)