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.001038/0.001038, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001019/0.001019, allocations: 173 kB / 24.05 MB, free: 452 kB / 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.9691/0.9691, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.5794/0.5794, allocations: 115 MB / 376 MB, free: 7.48 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.904e-06/1.904e-06, allocations: 3.938 kB / 481.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.56e-05, allocations: 3.406 kB / 481.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002063/0.002088, allocations: 1.475 MB / 483.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.002742, allocations: 465.9 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002783, allocations: 0 / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.002809, allocations: 3.938 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.002896, allocations: 12.86 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.003045, allocations: 18.12 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.003141, allocations: 48.56 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.003218, allocations: 6.828 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.003297, allocations: 38.31 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.003358, allocations: 13.75 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003378, allocations: 3.5 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.003387, allocations: 3.938 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.003409, allocations: 11.16 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.003439, allocations: 13.73 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.526e-05/0.003535, allocations: 37.3 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003537, allocations: 1.094 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003538, allocations: 0 / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.003542, allocations: 0 / 484 MB, free: 10.36 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.0004134/0.003955, allocations: 428.1 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.004004, allocations: 9.375 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.004039, allocations: 6.75 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.883e-05/0.004098, allocations: 115.9 kB / 484.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.004109, allocations: 7.125 kB / 484.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004117, allocations: 3.531 kB / 484.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.004198, allocations: 73.08 kB / 484.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.004204, allocations: 2.531 kB / 484.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.004211, allocations: 384 / 484.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004217, allocations: 8.859 kB / 484.7 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.004244, allocations: 37.2 kB / 484.7 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.004471, allocations: 245.4 kB / 485 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.004526, allocations: 71.78 kB / 485 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.004546, allocations: 45.3 kB / 485.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.004566, allocations: 1.094 kB / 485.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.00467, allocations: 132.3 kB / 485.2 MB, free: 9.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.004671, allocations: 0 / 485.2 MB, free: 9.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001869/0.004858, allocations: 186.2 kB / 485.4 MB, free: 9.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.004883, allocations: 82.66 kB / 485.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.005126, allocations: 174.5 kB / 485.6 MB, free: 24.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.005136, allocations: 27.98 kB / 485.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.005173, allocations: 128.1 kB / 485.8 MB, free: 24.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.005189, allocations: 27.16 kB / 485.8 MB, free: 24.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.00522, allocations: 28.83 kB / 485.8 MB, free: 24.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.005336, allocations: 0.4976 MB / 486.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.00536, allocations: 41.44 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.00539, allocations: 64.62 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.005442, allocations: 112.1 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005444, allocations: 0 / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001021/0.005546, allocations: 145 kB / 486.7 MB, free: 23.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.005572, allocations: 39.84 kB / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005576, allocations: 1.062 kB / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005588, allocations: 1.375 kB / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.005624, allocations: 9.719 kB / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005627, allocations: 1.062 kB / 486.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.00567, allocations: 12.28 kB / 486.8 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005675, allocations: 2.906 kB / 486.8 MB, free: 23.71 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.706e-05/0.005763, allocations: 189.2 kB / 486.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.005778, allocations: 10.77 kB / 487 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.005801, allocations: 18.73 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.005804, allocations: 5 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.005807, allocations: 1.562 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00581, allocations: 0 / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.006093, allocations: 391.1 kB / 487.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006096, allocations: 1.312 kB / 487.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.006101, allocations: 3.156 kB / 487.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.006105, allocations: 3.938 kB / 487.4 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006112, allocations: 2.375 kB / 487.4 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.006115, allocations: 3.281 kB / 487.4 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006116, allocations: 1.719 kB / 487.4 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.006282, allocations: 309.6 kB / 487.7 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.006295, allocations: 13.97 kB / 487.7 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.006309, allocations: 1.375 kB / 487.7 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.006371, allocations: 6.094 kB / 487.7 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.006409, allocations: 15.17 kB / 487.7 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.006422, allocations: 5.594 kB / 487.7 MB, free: 22.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.006464, allocations: 125.9 kB / 487.8 MB, free: 22.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006464, allocations: 0 / 487.8 MB, free: 22.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.006622, allocations: 13.97 kB / 487.9 MB, free: 22.74 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.541e-05/0.006708, allocations: 107.3 kB / 488 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.00684, allocations: 159.7 kB / 488.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006841, allocations: 0 / 488.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.006897, allocations: 115.1 kB / 488.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.007092, allocations: 27.03 kB / 488.3 MB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.007337, allocations: 191.5 kB / 488.4 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.007367, allocations: 60.47 kB / 488.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.007397, allocations: 6.594 kB / 488.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.007467, allocations: 82.64 kB / 488.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.007468, allocations: 1.906 kB / 488.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of Templates: time 0.002562/0.01003, allocations: 1.01 MB / 489.6 MB, free: 21.98 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.3480460210703313]