Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7291/0.7291, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.0009835/0.0009835, allocations: 182.9 kB / 164.7 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.436/1.436, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.0009002/0.0009002, allocations: 76.59 kB / 476.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.184e-05, allocations: 0 / 0.5466 GB, free: 95.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.2402, allocations: 102.5 MB / 0.7216 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.2404, allocations: 71.95 kB / 0.7216 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003149/0.2436, allocations: 1.195 MB / 0.7228 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2436, allocations: 0 / 0.7228 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2436, allocations: 0 / 0.7228 GB, free: 3.262 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003987/0.244, allocations: 372.2 kB / 0.7232 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2441, allocations: 8.031 kB / 0.7232 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.2441, allocations: 11.86 kB / 0.7232 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2442, allocations: 167 kB / 0.7233 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2443, allocations: 4 kB / 0.7233 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2443, allocations: 0 / 0.7233 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.832e-05/0.2443, allocations: 27.92 kB / 0.7234 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/0.2444, allocations: 41.69 kB / 0.7234 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2444, allocations: 0 / 0.7234 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2445, allocations: 4 kB / 0.7234 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2445, allocations: 0 / 0.7234 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.2448, allocations: 249.4 kB / 0.7236 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.2449, allocations: 42.56 kB / 0.7237 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.2449, allocations: 20.92 kB / 0.7237 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2449, allocations: 0 / 0.7237 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.2451, allocations: 105 kB / 0.7238 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2451, allocations: 0 / 0.7238 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000183/0.2453, allocations: 89.62 kB / 0.7239 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2453, allocations: 89.05 kB / 0.724 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.2454, allocations: 97 kB / 0.7241 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2454, allocations: 25.7 kB / 0.7241 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.2455, allocations: 88.05 kB / 0.7242 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2455, allocations: 27.8 kB / 0.7242 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.2455, allocations: 0 / 0.7242 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2456, allocations: 314.8 kB / 0.7245 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.2456, allocations: 16 kB / 0.7245 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.2457, allocations: 34.56 kB / 0.7246 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.2457, allocations: 16 kB / 0.7246 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2457, allocations: 3.938 kB / 0.7246 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000119/0.2459, allocations: 81.62 kB / 0.7247 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.2459, allocations: 39.56 kB / 0.7247 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2459, allocations: 0 / 0.7247 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2459, allocations: 8.062 kB / 0.7247 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.246, allocations: 4 kB / 0.7247 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.246, allocations: 3.938 kB / 0.7247 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2461, allocations: 11.94 kB / 0.7247 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.2461, allocations: 4 kB / 0.7247 GB, free: 1.062 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 8.611e-05/0.2462, allocations: 136.8 kB / 0.7249 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.2462, allocations: 7.906 kB / 0.7249 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.2462, allocations: 8.625 kB / 0.7249 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2462, allocations: 4 kB / 0.7249 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2462, allocations: 0 / 0.7249 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2462, allocations: 3.984 kB / 0.7249 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.2466, allocations: 335 kB / 0.7252 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2466, allocations: 4 kB / 0.7252 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.2466, allocations: 0 / 0.7252 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2466, allocations: 0 / 0.7252 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2466, allocations: 3.984 kB / 0.7252 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2466, allocations: 8.062 kB / 0.7252 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2466, allocations: 4 kB / 0.7252 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2468, allocations: 195.3 kB / 0.7254 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.2468, allocations: 89.09 kB / 0.7255 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2469, allocations: 3.938 kB / 0.7255 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.247, allocations: 11.98 kB / 0.7255 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.247, allocations: 4 kB / 0.7255 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.247, allocations: 4 kB / 0.7255 GB, free: 172 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.2471, allocations: 95.22 kB / 0.7256 GB, free: 76 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2471, allocations: 0 / 0.7256 GB, free: 76 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002209/0.2473, allocations: 16 kB / 0.7256 GB, free: 60 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001239/0.2474, allocations: 95.25 kB / 0.7257 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2476, allocations: 107.3 kB / 0.7258 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2476, allocations: 0 / 0.7258 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.2477, allocations: 95.31 kB / 0.7259 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2479, allocations: 14.19 kB / 0.7259 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.2481, allocations: 99.8 kB / 0.726 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2483, allocations: 0.691 MB / 0.7267 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.2484, allocations: 4 kB / 0.7267 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.2484, allocations: 7.438 kB / 0.7267 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.2484, allocations: 4 kB / 0.7267 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.002389/0.2508, allocations: 0.7115 MB / 0.7274 GB, free: 14.17 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)