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.6951/0.6951, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.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: 180.8 kB / 169.7 MB, free: 1.75 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.593/1.593, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.0008904/0.0008907, allocations: 86.19 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.959e-05, allocations: 3.984 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 76.75 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5331/0.7042, allocations: 103.1 MB / 0.7288 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.7044, allocations: 77.7 kB / 0.7289 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003338/0.7078, allocations: 1.187 MB / 0.7301 GB, free: 9.133 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.7078, allocations: 0 / 0.7301 GB, free: 9.133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.7078, allocations: 4 kB / 0.7301 GB, free: 9.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004548/0.7083, allocations: 375.1 kB / 0.7304 GB, free: 8.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.7084, allocations: 8.031 kB / 0.7304 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.7084, allocations: 16.47 kB / 0.7305 GB, free: 8.695 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.7086, allocations: 163.1 kB / 0.7306 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7086, allocations: 0 / 0.7306 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.7086, allocations: 8.312 kB / 0.7306 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.7087, allocations: 45.62 kB / 0.7307 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7088, allocations: 4.656 kB / 0.7307 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.7088, allocations: 0 / 0.7307 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7088, allocations: 7.938 kB / 0.7307 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.7089, allocations: 14.44 kB / 0.7307 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.7093, allocations: 277.2 kB / 0.731 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.7094, allocations: 43.61 kB / 0.731 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.7094, allocations: 22.48 kB / 0.731 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.7095, allocations: 4 kB / 0.731 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.7096, allocations: 107.3 kB / 0.7311 GB, free: 7.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.7097, allocations: 0 / 0.7311 GB, free: 7.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002506/0.7099, allocations: 125.1 kB / 0.7312 GB, free: 7.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.71, allocations: 84.48 kB / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.7101, allocations: 100.4 kB / 0.7314 GB, free: 7.621 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7101, allocations: 33.2 kB / 0.7315 GB, free: 7.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.7102, allocations: 92.03 kB / 0.7315 GB, free: 7.492 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.7102, allocations: 19.56 kB / 0.7316 GB, free: 7.477 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7102, allocations: 0 / 0.7316 GB, free: 7.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7104, allocations: 314.1 kB / 0.7319 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.7104, allocations: 22.92 kB / 0.7319 GB, free: 7.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.7105, allocations: 33.45 kB / 0.7319 GB, free: 7.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.7105, allocations: 49.12 kB / 0.732 GB, free: 7.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7105, allocations: 0 / 0.732 GB, free: 7.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001496/0.7107, allocations: 116.5 kB / 0.7321 GB, free: 6.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.7107, allocations: 37.64 kB / 0.7321 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7107, allocations: 0 / 0.7321 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7108, allocations: 0 / 0.7321 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.7108, allocations: 11.89 kB / 0.7321 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7108, allocations: 7.984 kB / 0.7321 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.7109, allocations: 12.05 kB / 0.7321 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.7109, allocations: 7.438 kB / 0.7321 GB, free: 6.875 MB / 490.7 MB 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 0.0001013/0.711, allocations: 147.6 kB / 0.7323 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.711, allocations: 7.906 kB / 0.7323 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.7111, allocations: 8.062 kB / 0.7323 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7111, allocations: 0 / 0.7323 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.7111, allocations: 3.953 kB / 0.7323 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7111, allocations: 0 / 0.7323 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.7115, allocations: 395.5 kB / 0.7327 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7115, allocations: 96 / 0.7327 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-06/0.7115, allocations: 7.938 kB / 0.7327 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7116, allocations: 0 / 0.7327 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.7116, allocations: 7.938 kB / 0.7327 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.7116, allocations: 4 kB / 0.7327 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7116, allocations: 3.938 kB / 0.7327 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.7118, allocations: 226.8 kB / 0.7329 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.7119, allocations: 85.02 kB / 0.733 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.7119, allocations: 4 kB / 0.733 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.712, allocations: 15.94 kB / 0.733 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.7121, allocations: 11.97 kB / 0.733 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.7121, allocations: 3.312 kB / 0.733 GB, free: 5.906 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.7121, allocations: 87.16 kB / 0.7331 GB, free: 5.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7121, allocations: 3.938 kB / 0.7331 GB, free: 5.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000207/0.7124, allocations: 16 kB / 0.7331 GB, free: 5.805 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: 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.0001221/0.7125, allocations: 106.9 kB / 0.7332 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.7127, allocations: 120.5 kB / 0.7334 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7127, allocations: 0 / 0.7334 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.7128, allocations: 81.59 kB / 0.7334 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.713, allocations: 15.05 kB / 0.7334 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.7133, allocations: 102.8 kB / 0.7335 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.7135, allocations: 0.6887 MB / 0.7342 GB, free: 4.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.7136, allocations: 0 / 0.7342 GB, free: 4.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.7136, allocations: 11.44 kB / 0.7342 GB, free: 4.648 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7136, allocations: 0 / 0.7342 GB, free: 4.648 MB / 490.7 MB Notification: Performance of Templates: time 0.002781/0.7164, allocations: 0.7538 MB / 0.735 GB, free: 3.914 MB / 490.7 MB 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)