Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 92.22 kB / 20.43 MB, free: 4.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 165 kB / 23.8 MB, free: 0.7656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9804/0.9804, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6333/0.6333, allocations: 115 MB / 375.7 MB, free: 7.637 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 481.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.558e-05, allocations: 2.312 kB / 481.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002003/0.002028, allocations: 1.48 MB / 482.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.002622, allocations: 474 kB / 483.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.002658, allocations: 1.188 kB / 483.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.002685, allocations: 5.438 kB / 483.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.002763, allocations: 13.88 kB / 483.4 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.00291, allocations: 19.64 kB / 483.4 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.003008, allocations: 41.53 kB / 483.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.00309, allocations: 11.75 kB / 483.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.003166, allocations: 33.59 kB / 483.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.675e-05/0.003233, allocations: 16.83 kB / 483.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.003253, allocations: 6.031 kB / 483.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.003268, allocations: 4.469 kB / 483.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.003294, allocations: 7.312 kB / 483.5 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.003335, allocations: 14.94 kB / 483.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003458, allocations: 38.05 kB / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003461, allocations: 0 / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.003463, allocations: 0 / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.003468, allocations: 2.062 kB / 483.6 MB, free: 10.44 MB / 410.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.0004613/0.00393, allocations: 420.5 kB / 484 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.003971, allocations: 7.375 kB / 484 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.004017, allocations: 11.09 kB / 484 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.004099, allocations: 115.9 kB / 484.1 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.004113, allocations: 5.578 kB / 484.1 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.004127, allocations: 5.375 kB / 484.1 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004231, allocations: 74.38 kB / 484.2 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.004241, allocations: 3.562 kB / 484.2 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004251, allocations: 1.5 kB / 484.2 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.004258, allocations: 5.094 kB / 484.2 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.004299, allocations: 41.41 kB / 484.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.004599, allocations: 261.7 kB / 484.5 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.004664, allocations: 69 kB / 484.6 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.004694, allocations: 44.89 kB / 484.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.004715, allocations: 1.125 kB / 484.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.004828, allocations: 141.1 kB / 484.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.004829, allocations: 1.062 kB / 484.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002223/0.005052, allocations: 187.4 kB / 485 MB, free: 9.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005082, allocations: 86.12 kB / 485 MB, free: 9.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.005139, allocations: 174.1 kB / 485.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.005148, allocations: 31.02 kB / 485.2 MB, free: 8.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.005357, allocations: 132.1 kB / 485.4 MB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.005374, allocations: 27.59 kB / 485.4 MB, free: 24.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.005407, allocations: 32.38 kB / 485.4 MB, free: 24.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000355/0.005762, allocations: 499.2 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.005797, allocations: 42.08 kB / 486 MB, free: 24.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.005835, allocations: 69.02 kB / 486 MB, free: 24.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.714e-05/0.005902, allocations: 114.5 kB / 486.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005904, allocations: 0 / 486.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001303/0.006035, allocations: 154.9 kB / 486.3 MB, free: 23.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.006065, allocations: 35.31 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006069, allocations: 1.125 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.006084, allocations: 1.625 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.006139, allocations: 4.531 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.006144, allocations: 1.875 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.006189, allocations: 12.11 kB / 486.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.006196, allocations: 3.562 kB / 486.3 MB, free: 23.77 MB / 426.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 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.006279, allocations: 194.2 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.006296, allocations: 19.14 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.006322, allocations: 13.75 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006325, allocations: 0 / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006328, allocations: 2.844 kB / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006331, allocations: 0 / 486.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.006655, allocations: 418.4 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006657, allocations: 0 / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-06/0.006664, allocations: 9.547 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.006667, allocations: 1.25 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006675, allocations: 1.062 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006677, allocations: 1.969 kB / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006679, allocations: 0 / 487 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.006838, allocations: 315.8 kB / 487.3 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.006848, allocations: 7.703 kB / 487.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.006867, allocations: 5.812 kB / 487.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.00693, allocations: 9.031 kB / 487.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.006971, allocations: 7.406 kB / 487.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.006985, allocations: 2.188 kB / 487.3 MB, free: 22.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.007031, allocations: 129.4 kB / 487.5 MB, free: 22.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007031, allocations: 0.7188 kB / 487.5 MB, free: 22.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.00719, allocations: 16.69 kB / 487.5 MB, free: 22.76 MB / 426.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.335e-05/0.007274, allocations: 100.2 kB / 487.6 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.007428, allocations: 170.9 kB / 487.7 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00743, allocations: 0 / 487.7 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.007489, allocations: 117.3 kB / 487.9 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.00771, allocations: 24.91 kB / 487.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.007994, allocations: 196.5 kB / 488.1 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.008023, allocations: 57.39 kB / 488.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.008047, allocations: 6.156 kB / 488.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.008075, allocations: 12.22 kB / 488.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008076, allocations: 0.7188 kB / 488.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of Templates: time 0.002585/0.01066, allocations: 0.9344 MB / 489.1 MB, free: 22.06 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6322252368554473]