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.0008758/0.0008758, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00144/0.00144, allocations: 177 kB / 23.36 MB, free: 1.129 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.9376/0.9376, allocations: 177.1 MB / 203.8 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.001671/0.001671, allocations: 246.9 kB / 260.5 MB, free: 12.67 MB / 250.7 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 0.7243/0.7243, allocations: 138.4 MB / 402.2 MB, free: 0.5312 MB / 362.7 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.272e-06/1.272e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.075e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001947/0.001958, allocations: 1.528 MB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.002588, allocations: 470.8 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.002618, allocations: 1.219 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.002639, allocations: 0.6094 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.002705, allocations: 11.89 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.002825, allocations: 23.64 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.002919, allocations: 50.12 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.002981, allocations: 13.33 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.00305, allocations: 27.19 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.003107, allocations: 19.47 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.003123, allocations: 3.5 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.003131, allocations: 4.094 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.00315, allocations: 5.391 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.00318, allocations: 16.48 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.692e-05/0.003266, allocations: 37.36 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003268, allocations: 2.219 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003269, allocations: 1.688 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.003272, allocations: 0 / 464.5 MB, free: 15.55 MB / 426.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.0003075/0.003579, allocations: 296.8 kB / 464.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.00361, allocations: 10.72 kB / 464.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.003636, allocations: 7.938 kB / 464.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.003705, allocations: 113.6 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.003713, allocations: 2.781 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.00372, allocations: 2.812 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.643e-05/0.003797, allocations: 80.75 kB / 465 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.003802, allocations: 1.812 kB / 465 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.003809, allocations: 1.078 kB / 465 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.003814, allocations: 5.75 kB / 465 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.003845, allocations: 39.84 kB / 465.1 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.004052, allocations: 152.2 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.004107, allocations: 58.17 kB / 465.3 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.004136, allocations: 43.61 kB / 465.3 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.004146, allocations: 3.25 kB / 465.3 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.00425, allocations: 118.6 kB / 465.4 MB, free: 14.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.004252, allocations: 0.6875 kB / 465.4 MB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001486/0.004401, allocations: 168.2 kB / 465.6 MB, free: 14.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.004434, allocations: 81.78 kB / 465.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.004489, allocations: 119.3 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.0045, allocations: 27.7 kB / 465.8 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.004526, allocations: 83.02 kB / 465.9 MB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.004542, allocations: 17.2 kB / 465.9 MB, free: 14.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.004575, allocations: 29.25 kB / 465.9 MB, free: 14.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.004641, allocations: 319 kB / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.004662, allocations: 35.83 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.004698, allocations: 60.61 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.004758, allocations: 104.9 kB / 466.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00476, allocations: 1.406 kB / 466.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.466e-05/0.004854, allocations: 124.5 kB / 466.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.004879, allocations: 34.81 kB / 466.6 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.004885, allocations: 4.5 kB / 466.6 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.004894, allocations: 3.469 kB / 466.6 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.947e-05/0.004924, allocations: 11.62 kB / 466.6 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004927, allocations: 1.656 kB / 466.6 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.004962, allocations: 17.72 kB / 466.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004967, allocations: 6.156 kB / 466.6 MB, free: 13.51 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 6.889e-05/0.005036, allocations: 148.3 kB / 466.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.005049, allocations: 9.219 kB / 466.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.00507, allocations: 14.95 kB / 466.8 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005073, allocations: 4.75 kB / 466.8 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005075, allocations: 0 / 466.8 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.005078, allocations: 0.6094 kB / 466.8 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.005284, allocations: 283.1 kB / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.005285, allocations: 0 / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-06/0.005291, allocations: 2.062 kB / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005293, allocations: 4.969 kB / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.005301, allocations: 7.016 kB / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.005303, allocations: 1.062 kB / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005304, allocations: 0 / 467.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005411, allocations: 222.4 kB / 467.3 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.00542, allocations: 9.438 kB / 467.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.005434, allocations: 6.969 kB / 467.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.005483, allocations: 6.953 kB / 467.3 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.005511, allocations: 10.11 kB / 467.4 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.005522, allocations: 3.453 kB / 467.4 MB, free: 12.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.614e-05/0.005538, allocations: 15.98 kB / 467.4 MB, free: 12.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005538, allocations: 0.5625 kB / 467.4 MB, free: 12.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.005666, allocations: 16.34 kB / 467.4 MB, free: 12.86 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 6.057e-05/0.005726, allocations: 82.95 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.005843, allocations: 159.1 kB / 467.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.005845, allocations: 1.281 kB / 467.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.005903, allocations: 109.9 kB / 467.7 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.00604, allocations: 18.03 kB / 467.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.00625, allocations: 183.7 kB / 467.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.977e-05/0.006279, allocations: 60.59 kB / 468 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.959e-05/0.006299, allocations: 8.844 kB / 468 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.006359, allocations: 69.16 kB / 468.1 MB, free: 12.25 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00636, allocations: 0 / 468.1 MB, free: 12.25 MB / 426.7 MB Notification: Performance of Templates: time 0.002249/0.008608, allocations: 0.989 MB / 469.1 MB, free: 11.57 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3332483069971204]