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.787/0.787, allocations: 128.7 MB / 143.7 MB, free: 2.363 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.001109/0.001109, allocations: 178.3 kB / 173.8 MB, free: 6.129 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.886/1.886, allocations: 205.4 MB / 409 MB, free: 10.52 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.0008478/0.0008474, allocations: 102.6 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 8.438 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 76.77 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.3982, allocations: 103.2 MB / 0.7361 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.3986, allocations: 71.95 kB / 0.7362 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004946/0.4036, allocations: 1.211 MB / 0.7374 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4036, allocations: 0 / 0.7374 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.4036, allocations: 0 / 0.7374 GB, free: 5.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006645/0.4043, allocations: 385 kB / 0.7377 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4044, allocations: 15.97 kB / 0.7377 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.4044, allocations: 11.84 kB / 0.7377 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4047, allocations: 163.1 kB / 0.7379 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.4047, allocations: 4 kB / 0.7379 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.4047, allocations: 4 kB / 0.7379 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4049, allocations: 49.67 kB / 0.738 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4049, allocations: 0 / 0.738 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.4049, allocations: 4 kB / 0.738 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.405, allocations: 0 / 0.738 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.405, allocations: 16 kB / 0.738 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.4056, allocations: 280.8 kB / 0.7382 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.4058, allocations: 34.58 kB / 0.7383 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.4058, allocations: 4 kB / 0.7383 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.4061, allocations: 101.2 kB / 0.7384 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 4.308e-06/0.4061, allocations: 4 kB / 0.7384 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0004538/0.4066, allocations: 220.3 kB / 0.7386 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.4067, allocations: 81.11 kB / 0.7387 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4068, allocations: 105.3 kB / 0.7388 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4068, allocations: 33.64 kB / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.4069, allocations: 84.42 kB / 0.7389 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.407, allocations: 23.77 kB / 0.7389 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.407, allocations: 4 kB / 0.7389 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.4071, allocations: 318.8 kB / 0.7392 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.4072, allocations: 27.92 kB / 0.7392 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.4073, allocations: 30.56 kB / 0.7393 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.4074, allocations: 51.92 kB / 0.7393 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4074, allocations: 0 / 0.7393 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002186/0.4076, allocations: 119.3 kB / 0.7394 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.4077, allocations: 37.77 kB / 0.7395 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4077, allocations: 0 / 0.7395 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4077, allocations: 4 kB / 0.7395 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.4078, allocations: 3.984 kB / 0.7395 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4078, allocations: 11.89 kB / 0.7395 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.4079, allocations: 4 kB / 0.7395 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4079, allocations: 4 kB / 0.7395 GB, free: 3.469 MB / 0.5105 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 () * Number of clocked 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 0.0001553/0.4081, allocations: 155.5 kB / 0.7396 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.4081, allocations: 11.91 kB / 0.7397 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.4081, allocations: 4.375 kB / 0.7397 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4082, allocations: 4 kB / 0.7397 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4082, allocations: 0 / 0.7397 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4082, allocations: 3.953 kB / 0.7397 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.4087, allocations: 396.2 kB / 0.74 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4087, allocations: 7.984 kB / 0.74 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.4088, allocations: 4.062 kB / 0.7401 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4088, allocations: 0 / 0.7401 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4088, allocations: 8 kB / 0.7401 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4088, allocations: 7.953 kB / 0.7401 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4088, allocations: 0 / 0.7401 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.4091, allocations: 225.1 kB / 0.7403 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.4092, allocations: 81.11 kB / 0.7404 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4092, allocations: 96 / 0.7404 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4094, allocations: 15.92 kB / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.4095, allocations: 19.94 kB / 0.7404 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4095, allocations: 4 kB / 0.7404 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.4096, allocations: 91.27 kB / 0.7405 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.956e-06/0.4096, allocations: 0 / 0.7405 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003942/0.41, allocations: 15.94 kB / 0.7405 GB, free: 2.316 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: 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) * Number of clocked states: 0 () * 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.0001467/0.4102, allocations: 107 kB / 0.7406 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4105, allocations: 115.4 kB / 0.7407 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4105, allocations: 4.125 kB / 0.7407 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4106, allocations: 91.34 kB / 0.7408 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.4109, allocations: 18.22 kB / 0.7408 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.4114, allocations: 164.5 kB / 0.741 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.4117, allocations: 0.6887 MB / 0.7416 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.4118, allocations: 4 kB / 0.7417 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.4118, allocations: 11.44 kB / 0.7417 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.4118, allocations: 0 / 0.7417 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of Templates: time 0.003794/0.4156, allocations: 0.7297 MB / 0.7424 GB, free: 320 kB / 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)