Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001343/0.001343, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001434/0.001434, allocations: 161.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002511/0.002511, allocations: 243.5 kB / 259.4 MB, free: 472 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 1.961 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6467 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.266e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.0025/0.002523, allocations: 1.448 MB / 0.6482 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.003333, allocations: 442.8 kB / 0.6486 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.003373, allocations: 0 / 0.6486 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.0034, allocations: 3.938 kB / 0.6486 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.003488, allocations: 23.84 kB / 0.6486 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.003632, allocations: 15.92 kB / 0.6486 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003748, allocations: 47.86 kB / 0.6487 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.701e-05/0.003825, allocations: 7.984 kB / 0.6487 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.003918, allocations: 39.84 kB / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.003986, allocations: 11.92 kB / 0.6487 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.004007, allocations: 4 kB / 0.6487 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.004022, allocations: 4 kB / 0.6487 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.004049, allocations: 11.98 kB / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.004088, allocations: 11.94 kB / 0.6487 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.004202, allocations: 47.86 kB / 0.6488 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004205, allocations: 4 kB / 0.6488 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004206, allocations: 0 / 0.6488 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.004209, allocations: 4 kB / 0.6488 GB, free: 2.914 MB / 0.5606 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.0005982/0.004808, allocations: 308 kB / 0.6491 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004845, allocations: 13.34 kB / 0.6491 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.004883, allocations: 4.891 kB / 0.6491 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.005, allocations: 117.6 kB / 0.6492 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005012, allocations: 8.312 kB / 0.6492 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005026, allocations: 8.359 kB / 0.6492 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.005185, allocations: 83.94 kB / 0.6493 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.005195, allocations: 8.172 kB / 0.6493 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.005205, allocations: 384 / 0.6493 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.005211, allocations: 3.938 kB / 0.6493 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.005288, allocations: 49.69 kB / 0.6494 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.005638, allocations: 204.6 kB / 0.6496 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.005746, allocations: 68.2 kB / 0.6496 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.005801, allocations: 46.67 kB / 0.6497 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.005818, allocations: 0 / 0.6497 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.006004, allocations: 138.7 kB / 0.6498 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.006005, allocations: 0 / 0.6498 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003301/0.006336, allocations: 202.7 kB / 0.65 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.006398, allocations: 85.17 kB / 0.6501 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.006493, allocations: 113.8 kB / 0.6502 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.006511, allocations: 25.7 kB / 0.6502 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.00656, allocations: 84.14 kB / 0.6503 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.006583, allocations: 19.84 kB / 0.6503 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.00663, allocations: 25.72 kB / 0.6503 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.006762, allocations: 322.8 kB / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.006814, allocations: 41.64 kB / 0.6507 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.006881, allocations: 68.27 kB / 0.6508 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.006999, allocations: 118 kB / 0.6509 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007, allocations: 0 / 0.6509 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001936/0.007194, allocations: 153 kB / 0.651 GB, free: 356 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.007228, allocations: 37.62 kB / 0.6511 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007232, allocations: 4 kB / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.007244, allocations: 0 / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-05/0.007283, allocations: 4 kB / 0.6511 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007288, allocations: 400 / 0.6511 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.007358, allocations: 16 kB / 0.6511 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.007367, allocations: 4 kB / 0.6511 GB, free: 284 kB / 0.5606 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 (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.000116/0.007483, allocations: 155.5 kB / 0.6512 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007501, allocations: 7.938 kB / 0.6512 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.007529, allocations: 8.422 kB / 0.6512 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007532, allocations: 4 kB / 0.6513 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.007536, allocations: 0 / 0.6513 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007539, allocations: 0 / 0.6513 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3205/0.328, allocations: 371.9 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.328, allocations: 0 / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.328, allocations: 7.484 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.328, allocations: 0 / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.328, allocations: 0.5312 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.328, allocations: 1.562 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.328, allocations: 3.188 kB / 0.6516 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.3282, allocations: 266.8 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.3282, allocations: 4.859 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3282, allocations: 8.25 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3284, allocations: 8.391 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3284, allocations: 8.172 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3284, allocations: 7.922 kB / 0.6519 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.3285, allocations: 94.08 kB / 0.652 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 0.652 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002528/0.3287, allocations: 18.45 kB / 0.652 GB, free: 56.38 MB / 0.5606 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 (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.679e-05/0.3288, allocations: 101.4 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.329, allocations: 165 kB / 0.6523 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.329, allocations: 3.156 kB / 0.6523 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.3291, allocations: 112.5 kB / 0.6524 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3294, allocations: 13.56 kB / 0.6524 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3297, allocations: 190.3 kB / 0.6526 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.3297, allocations: 68.36 kB / 0.6526 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.3297, allocations: 7.75 kB / 0.6526 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3298, allocations: 14.5 kB / 0.6527 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.3298, allocations: 0 / 0.6527 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.003144/0.3329, allocations: 0.9294 MB / 0.6536 GB, free: 55.84 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.814825747162104] Failed to read output from testmodel.py, exit status != 0: 0.34016794338822365 0.349632836 0.343197285 Calling exit ...