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.001335/0.001335, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001407/0.001407, allocations: 157.6 kB / 23.01 MB, free: 4.598 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 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.002475/0.002475, allocations: 233.2 kB / 260 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 0.9349/0.9349, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003061/0.003061, allocations: 102.7 kB / 0.6473 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3899, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002194/0.3921, allocations: 1.439 MB / 0.7418 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0006593/0.3928, allocations: 443.1 kB / 0.7422 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3928, allocations: 0 / 0.7422 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.3929, allocations: 6.359 kB / 0.7422 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.3929, allocations: 6.797 kB / 0.7423 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3931, allocations: 23.88 kB / 0.7423 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3932, allocations: 57.73 kB / 0.7423 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.3932, allocations: 3.406 kB / 0.7423 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.3933, allocations: 24.09 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.3934, allocations: 19.03 kB / 0.7424 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3934, allocations: 6.531 kB / 0.7424 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3934, allocations: 4.094 kB / 0.7424 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3934, allocations: 6.781 kB / 0.7424 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.3935, allocations: 16.09 kB / 0.7424 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.3936, allocations: 46.66 kB / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3936, allocations: 0 / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3936, allocations: 0 / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3936, allocations: 0 / 0.7425 GB, free: 16.03 MB / 0.5919 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.0004594/0.394, allocations: 319.9 kB / 0.7428 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.394, allocations: 14.94 kB / 0.7428 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.3941, allocations: 8.547 kB / 0.7428 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.537e-05/0.3941, allocations: 115.1 kB / 0.7429 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3942, allocations: 3.281 kB / 0.7429 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3942, allocations: 2.781 kB / 0.7429 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3943, allocations: 82.86 kB / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3943, allocations: 3.984 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3943, allocations: 5.906 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3943, allocations: 1.281 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.3944, allocations: 46.33 kB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.3946, allocations: 219 kB / 0.7432 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.3947, allocations: 71.88 kB / 0.7433 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.3948, allocations: 52.53 kB / 0.7434 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3948, allocations: 1.125 kB / 0.7434 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3949, allocations: 129.3 kB / 0.7435 GB, free: 15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3949, allocations: 0 / 0.7435 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0002503/0.3952, allocations: 205.3 kB / 0.7437 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3952, allocations: 80.12 kB / 0.7438 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.3952, allocations: 107.9 kB / 0.7439 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3953, allocations: 31.34 kB / 0.7439 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.3953, allocations: 89.97 kB / 0.744 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.3953, allocations: 20.66 kB / 0.744 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3953, allocations: 28.61 kB / 0.744 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.3954, allocations: 319.1 kB / 0.7443 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.3954, allocations: 46.31 kB / 0.7444 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.3954, allocations: 65.73 kB / 0.7444 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.3955, allocations: 108.6 kB / 0.7445 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3955, allocations: 7.875 kB / 0.7445 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001426/0.3957, allocations: 158.6 kB / 0.7447 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3957, allocations: 33.17 kB / 0.7447 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3957, allocations: 2.359 kB / 0.7447 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3957, allocations: 1.75 kB / 0.7447 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.881e-05/0.3958, allocations: 7.578 kB / 0.7447 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3958, allocations: 1.531 kB / 0.7447 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.3958, allocations: 10.41 kB / 0.7447 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3958, allocations: 2.562 kB / 0.7447 GB, free: 13.79 MB / 0.5919 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 6.004e-05/0.3959, allocations: 151.1 kB / 0.7449 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.3959, allocations: 8.188 kB / 0.7449 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.3959, allocations: 12.3 kB / 0.7449 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3959, allocations: 0 / 0.7449 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3959, allocations: 4.453 kB / 0.7449 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3959, allocations: 2.188 kB / 0.7449 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3962, allocations: 377.8 kB / 0.7453 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3962, allocations: 1.375 kB / 0.7453 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-06/0.3962, allocations: 4.734 kB / 0.7453 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3962, allocations: 1.25 kB / 0.7453 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3962, allocations: 2.875 kB / 0.7453 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3962, allocations: 0 / 0.7453 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3962, allocations: 5.344 kB / 0.7453 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.3964, allocations: 257 kB / 0.7455 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.3964, allocations: 11.08 kB / 0.7455 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3964, allocations: 10.88 kB / 0.7456 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3965, allocations: 8.328 kB / 0.7456 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3966, allocations: 7 kB / 0.7456 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3966, allocations: 3.578 kB / 0.7456 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.3966, allocations: 87.3 kB / 0.7457 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3966, allocations: 0 / 0.7457 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002342/0.3969, allocations: 18.73 kB / 0.7457 GB, free: 12.95 MB / 0.5919 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.291e-05/0.3969, allocations: 109.4 kB / 0.7458 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.3971, allocations: 170.1 kB / 0.7459 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3971, allocations: 1.5 kB / 0.7459 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.3971, allocations: 108.5 kB / 0.7461 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3974, allocations: 18.78 kB / 0.7461 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.3977, allocations: 183.4 kB / 0.7462 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.3977, allocations: 73.44 kB / 0.7463 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.3978, allocations: 4.25 kB / 0.7463 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.3978, allocations: 16.56 kB / 0.7463 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.3978, allocations: 0 / 0.7463 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.003322/0.4011, allocations: 0.9381 MB / 0.7472 GB, free: 12.22 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.666110095917247] Failed to read output from testmodel.py, exit status != 0: 0.4085094010224566 0.418831299 0.022894372000000003 Calling exit ...