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.0007228/0.0007228, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007372/0.0007372, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.863/0.863, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.00156/0.00156, allocations: 229.9 kB / 260.2 MB, free: 13.03 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.6929/0.6929, allocations: 138.4 MB / 455.1 MB, free: 1.633 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.784e-06/1.784e-06, allocations: 0 / 0.6475 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.67e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001764/0.001791, allocations: 1.446 MB / 0.6489 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005812/0.002372, allocations: 446.5 kB / 0.6493 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.002411, allocations: 1.531 kB / 0.6493 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.002435, allocations: 3.938 kB / 0.6493 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.002506, allocations: 8.969 kB / 0.6493 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002653, allocations: 15.89 kB / 0.6493 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.002761, allocations: 56.02 kB / 0.6494 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.002847, allocations: 6.469 kB / 0.6494 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.002926, allocations: 34 kB / 0.6494 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.00299, allocations: 14.39 kB / 0.6494 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.003011, allocations: 7.938 kB / 0.6495 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003022, allocations: 3.531 kB / 0.6495 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.003044, allocations: 9.422 kB / 0.6495 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.003082, allocations: 14.77 kB / 0.6495 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.003188, allocations: 48.91 kB / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00319, allocations: 0 / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003191, allocations: 0 / 0.6495 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003195, allocations: 0 / 0.6495 GB, free: 27.28 MB / 0.5105 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.0003971/0.003592, allocations: 323 kB / 0.6498 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.003628, allocations: 13.81 kB / 0.6498 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.00366, allocations: 7.391 kB / 0.6499 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.214e-05/0.003722, allocations: 109.7 kB / 0.65 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003733, allocations: 7.312 kB / 0.65 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.003742, allocations: 1.906 kB / 0.65 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.003839, allocations: 85.28 kB / 0.65 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.003847, allocations: 4.188 kB / 0.6501 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.00386, allocations: 5.625 kB / 0.6501 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003864, allocations: 0 / 0.6501 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.003913, allocations: 44.72 kB / 0.6501 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.004182, allocations: 211.4 kB / 0.6503 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.00425, allocations: 69.45 kB / 0.6504 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.004277, allocations: 46.62 kB / 0.6504 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.004294, allocations: 1.125 kB / 0.6504 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.004427, allocations: 138.7 kB / 0.6505 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.004429, allocations: 3.984 kB / 0.6505 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002132/0.004642, allocations: 198.8 kB / 0.6507 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.00467, allocations: 87.97 kB / 0.6508 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.004714, allocations: 108.2 kB / 0.6509 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.004722, allocations: 26.89 kB / 0.651 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.004746, allocations: 90.36 kB / 0.651 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.00476, allocations: 18.55 kB / 0.6511 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.004788, allocations: 27.36 kB / 0.6511 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.004825, allocations: 320.2 kB / 0.6514 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.004853, allocations: 47.38 kB / 0.6514 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.004891, allocations: 69.92 kB / 0.6515 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.00496, allocations: 114.6 kB / 0.6516 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004961, allocations: 0 / 0.6516 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001112/0.005073, allocations: 160.8 kB / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.005097, allocations: 32.08 kB / 0.6518 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005101, allocations: 1.188 kB / 0.6518 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.005114, allocations: 1.156 kB / 0.6518 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.879e-05/0.005153, allocations: 10.33 kB / 0.6518 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.005159, allocations: 1.156 kB / 0.6518 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.005199, allocations: 13 kB / 0.6518 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.005206, allocations: 3.625 kB / 0.6518 GB, free: 24.95 MB / 0.5105 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 5.697e-05/0.005263, allocations: 147.9 kB / 0.652 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.005274, allocations: 11.3 kB / 0.652 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.005295, allocations: 13.72 kB / 0.652 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005297, allocations: 1.219 kB / 0.652 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.005302, allocations: 1.781 kB / 0.652 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005305, allocations: 0 / 0.652 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.005545, allocations: 381.2 kB / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005547, allocations: 0 / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.005552, allocations: 1.312 kB / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005554, allocations: 0 / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.005562, allocations: 2.75 kB / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005564, allocations: 0 / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005565, allocations: 4 kB / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.005685, allocations: 265 kB / 0.6526 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.005695, allocations: 6.391 kB / 0.6526 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.005709, allocations: 6.812 kB / 0.6526 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.005768, allocations: 9.016 kB / 0.6526 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.005804, allocations: 14.36 kB / 0.6526 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.005817, allocations: 3.781 kB / 0.6527 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.179e-05/0.005839, allocations: 86.08 kB / 0.6527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005839, allocations: 0 / 0.6527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001514/0.005991, allocations: 14.19 kB / 0.6527 GB, free: 24.08 MB / 0.5105 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 6.819e-05/0.006059, allocations: 111 kB / 0.6529 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.006194, allocations: 167 kB / 0.653 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006195, allocations: 0 / 0.653 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.006244, allocations: 109.5 kB / 0.6531 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.006451, allocations: 19.42 kB / 0.6531 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.006725, allocations: 218.2 kB / 0.6533 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.006762, allocations: 66.75 kB / 0.6534 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.006786, allocations: 16.34 kB / 0.6534 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.006786, allocations: 0 / 0.6534 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.00161/0.008396, allocations: 0.9202 MB / 0.6543 GB, free: 22.95 MB / 0.5105 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.069221415556967] Failed to read output from testmodel.py, exit status != 0: 0.01320794876664877 0.020349557 0.015761632 Calling exit ...