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.002352/0.002352, allocations: 92.17 kB / 20.21 MB, free: 4.207 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.00277/0.00277, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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 1.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.057/1.057, allocations: 115 MB / 375.3 MB, free: 7.605 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 2.214e-06/2.214e-06, allocations: 0 / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.258e-05, allocations: 7.672 kB / 480.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003219/0.003251, allocations: 1.445 MB / 482.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004415, allocations: 460.2 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.004467, allocations: 0 / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.004497, allocations: 3.938 kB / 482.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004605, allocations: 16.72 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.004781, allocations: 14.94 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004914, allocations: 58.17 kB / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.005009, allocations: 0 / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.00512, allocations: 31.08 kB / 482.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.005205, allocations: 21.97 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005231, allocations: 3.094 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.005248, allocations: 3.844 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.005275, allocations: 11.47 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.005323, allocations: 14.94 kB / 482.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.005459, allocations: 44.34 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005462, allocations: 3.938 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005463, allocations: 0 / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.005468, allocations: 0.8438 kB / 482.9 MB, free: 10.57 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.00082/0.006288, allocations: 420.3 kB / 483.3 MB, free: 26.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.006333, allocations: 11.94 kB / 483.3 MB, free: 26.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.006396, allocations: 5.562 kB / 483.3 MB, free: 26.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.006494, allocations: 116.1 kB / 483.4 MB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.006513, allocations: 6.875 kB / 483.4 MB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.006529, allocations: 6.25 kB / 483.4 MB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.006674, allocations: 83.81 kB / 483.5 MB, free: 25.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.006687, allocations: 2.25 kB / 483.5 MB, free: 25.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.006701, allocations: 384 / 483.5 MB, free: 25.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006707, allocations: 3.938 kB / 483.5 MB, free: 25.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.006801, allocations: 48.98 kB / 483.5 MB, free: 25.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.007291, allocations: 270.4 kB / 483.8 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.007429, allocations: 84.08 kB / 483.9 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.007498, allocations: 48.25 kB / 483.9 MB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.007527, allocations: 0.6562 kB / 483.9 MB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.007718, allocations: 144.9 kB / 484.1 MB, free: 25.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.00772, allocations: 0.9062 kB / 484.1 MB, free: 25.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004509/0.00817, allocations: 206.9 kB / 484.3 MB, free: 25.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.008204, allocations: 80.36 kB / 484.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.00838, allocations: 180.7 kB / 484.5 MB, free: 24.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.008394, allocations: 31.55 kB / 484.6 MB, free: 24.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.008506, allocations: 130.5 kB / 484.7 MB, free: 24.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.008535, allocations: 24.38 kB / 484.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.008599, allocations: 33.84 kB / 484.7 MB, free: 24.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003658/0.008965, allocations: 0.4902 MB / 485.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.009032, allocations: 49.19 kB / 485.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.009115, allocations: 76.36 kB / 485.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.009253, allocations: 123.8 kB / 485.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.009256, allocations: 0 / 485.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002496/0.009506, allocations: 170.1 kB / 485.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.009537, allocations: 36.58 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009543, allocations: 1.312 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.009562, allocations: 2.875 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.009631, allocations: 3.812 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.009639, allocations: 4.078 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.009728, allocations: 14.25 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.009751, allocations: 3.25 kB / 485.7 MB, free: 23.84 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 0.0001816/0.009932, allocations: 193.2 kB / 485.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.009968, allocations: 16.89 kB / 485.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01, allocations: 9.625 kB / 485.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01001, allocations: 1.188 kB / 485.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01001, allocations: 3.938 kB / 485.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01001, allocations: 1.094 kB / 485.9 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.01058, allocations: 437.2 kB / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01058, allocations: 0 / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.01059, allocations: 2.531 kB / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01059, allocations: 1.219 kB / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01061, allocations: 2.625 kB / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01061, allocations: 1.5 kB / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01061, allocations: 64 / 486.4 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.01102, allocations: 337.2 kB / 486.7 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.01104, allocations: 5.922 kB / 486.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01108, allocations: 3.875 kB / 486.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.01123, allocations: 7.828 kB / 486.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.0113, allocations: 11.14 kB / 486.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.01132, allocations: 3.469 kB / 486.7 MB, free: 22.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.01144, allocations: 133.4 kB / 486.9 MB, free: 22.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01144, allocations: 0.7812 kB / 486.9 MB, free: 22.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004322/0.01188, allocations: 14.09 kB / 486.9 MB, free: 22.81 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 0.0001583/0.01203, allocations: 102.3 kB / 487 MB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.01238, allocations: 186.6 kB / 487.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01238, allocations: 0 / 487.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.01257, allocations: 130.3 kB / 487.3 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.01305, allocations: 22.78 kB / 487.3 MB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.01352, allocations: 195.6 kB / 487.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.0136, allocations: 71.94 kB / 487.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.01364, allocations: 8.953 kB / 487.6 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.01368, allocations: 11.78 kB / 487.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01368, allocations: 0 / 487.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of Templates: time 0.005539/0.01922, allocations: 0.9292 MB / 488.5 MB, free: 22.1 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: 5.646067852037959]