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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 118.3 kB / 17.13 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 194.2 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 279.2 kB / 303.6 MB, free: 3.727 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00274/0.00274, allocations: 95.84 kB / 0.7259 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9085/0.9112, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.00302/0.9142, allocations: 1.428 MB / 0.8192 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.9152, allocations: 441.4 kB / 0.8196 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.9152, allocations: 0 / 0.8196 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.9152, allocations: 4.625 kB / 0.8196 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.9154, allocations: 21.06 kB / 0.8197 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.9155, allocations: 18.2 kB / 0.8197 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.9157, allocations: 51.66 kB / 0.8197 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.9158, allocations: 6.438 kB / 0.8197 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.9159, allocations: 24.27 kB / 0.8197 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.916, allocations: 21.11 kB / 0.8198 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.916, allocations: 4.094 kB / 0.8198 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.916, allocations: 3.781 kB / 0.8198 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.916, allocations: 5.797 kB / 0.8198 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.9161, allocations: 25.94 kB / 0.8198 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.9162, allocations: 44.17 kB / 0.8198 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9162, allocations: 0.5625 kB / 0.8198 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9162, allocations: 0 / 0.8198 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9162, allocations: 0.8125 kB / 0.8198 GB, free: 6.023 MB / 0.5762 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.000666/0.9169, allocations: 402.8 kB / 0.8202 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9169, allocations: 8.938 kB / 0.8202 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.917, allocations: 3.969 kB / 0.8202 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.9171, allocations: 179.5 kB / 0.8204 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.9171, allocations: 9.062 kB / 0.8204 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.9172, allocations: 4.375 kB / 0.8204 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.9173, allocations: 52.16 kB / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9173, allocations: 0 / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.9173, allocations: 4.422 kB / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9173, allocations: 1.469 kB / 0.8205 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.9174, allocations: 14.38 kB / 0.8205 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.9178, allocations: 279.4 kB / 0.8208 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.9179, allocations: 34.56 kB / 0.8208 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.9179, allocations: 26.7 kB / 0.8208 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.9179, allocations: 1.031 kB / 0.8208 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.9181, allocations: 106.2 kB / 0.8209 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.9181, allocations: 0 / 0.8209 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003773/0.9185, allocations: 136.2 kB / 0.8211 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.9185, allocations: 82.98 kB / 0.8211 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.9186, allocations: 118.3 kB / 0.8212 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.9186, allocations: 31.77 kB / 0.8213 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.9187, allocations: 85.33 kB / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.9187, allocations: 19.05 kB / 0.8214 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.9187, allocations: 25.73 kB / 0.8214 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.9188, allocations: 324.4 kB / 0.8217 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.9189, allocations: 16.81 kB / 0.8217 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.9189, allocations: 37 kB / 0.8218 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.919, allocations: 113 kB / 0.8219 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.919, allocations: 0 / 0.8219 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001526/0.9191, allocations: 119.7 kB / 0.822 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.9192, allocations: 42.31 kB / 0.822 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9192, allocations: 0 / 0.822 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9192, allocations: 1.188 kB / 0.822 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.9193, allocations: 7.75 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9193, allocations: 0.875 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.9193, allocations: 7.547 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.9193, allocations: 8.156 kB / 0.8221 GB, free: 3.883 MB / 0.5762 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 8.949e-05/0.9194, allocations: 156.7 kB / 0.8222 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.9194, allocations: 7.328 kB / 0.8222 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.9195, allocations: 17.66 kB / 0.8222 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9195, allocations: 1.312 kB / 0.8222 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9195, allocations: 0 / 0.8222 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9195, allocations: 1.781 kB / 0.8222 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.9198, allocations: 409.2 kB / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9198, allocations: 0 / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-06/0.9199, allocations: 1.812 kB / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9199, allocations: 0 / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9199, allocations: 2.25 kB / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.9199, allocations: 0.9375 kB / 0.8226 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9199, allocations: 4 kB / 0.8226 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.9201, allocations: 244.5 kB / 0.8229 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.9201, allocations: 82.28 kB / 0.8229 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.9202, allocations: 2.312 kB / 0.8229 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.9203, allocations: 7.984 kB / 0.8229 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.9203, allocations: 15.41 kB / 0.823 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.9203, allocations: 2.75 kB / 0.823 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.9204, allocations: 93.92 kB / 0.8231 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9204, allocations: 0 / 0.8231 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002315/0.9206, allocations: 12.91 kB / 0.8231 GB, free: 2.938 MB / 0.5762 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 9.545e-05/0.9207, allocations: 102.7 kB / 0.8232 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.9209, allocations: 107.9 kB / 0.8233 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9209, allocations: 0 / 0.8233 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.921, allocations: 79.94 kB / 0.8233 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.9213, allocations: 19.89 kB / 0.8234 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.9216, allocations: 180.9 kB / 0.8235 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.9218, allocations: 0.6864 MB / 0.8242 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.9218, allocations: 10.69 kB / 0.8242 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.9218, allocations: 0 / 0.8242 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.002995/0.9248, allocations: 0.9047 MB / 0.8251 GB, free: 1.754 MB / 0.5762 GB " [Timeout remaining time 659] 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: 9.58026677602902] Failed to read output from testmodel.py, exit status != 0: 0.9326614141464233 0.947459652 0.027397641 Calling exit ...