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.001336/0.001336, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001494/0.001494, allocations: 215.9 kB / 22.25 MB, free: 5.125 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.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.002455/0.002455, allocations: 287.5 kB / 312.7 MB, free: 2.793 MB / 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.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [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.00278/0.00278, allocations: 104.9 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1611, allocations: 95.39 MB / 0.8327 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002618/0.1637, allocations: 1.451 MB / 0.8341 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1645, allocations: 484.5 kB / 0.8346 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1645, allocations: 0 / 0.8346 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.1646, allocations: 3.938 kB / 0.8346 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.1646, allocations: 19.84 kB / 0.8346 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1648, allocations: 15.98 kB / 0.8346 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1649, allocations: 43.86 kB / 0.8347 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.165, allocations: 8 kB / 0.8347 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.165, allocations: 27.86 kB / 0.8347 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1651, allocations: 19.91 kB / 0.8347 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1651, allocations: 4 kB / 0.8347 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.1651, allocations: 4 kB / 0.8347 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.1652, allocations: 15.92 kB / 0.8347 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1652, allocations: 19.88 kB / 0.8348 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1653, allocations: 48.03 kB / 0.8348 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1653, allocations: 0 / 0.8348 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.216e-06/0.1653, allocations: 4 kB / 0.8348 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1653, allocations: 0 / 0.8348 GB, free: 6.41 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.0005764/0.1659, allocations: 315.9 kB / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.166, allocations: 17.33 kB / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.166, allocations: 34.69 kB / 0.8352 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.166, allocations: 8.891 kB / 0.8352 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1661, allocations: 110.5 kB / 0.8353 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1662, allocations: 384 / 0.8353 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1662, allocations: 4.375 kB / 0.8353 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1663, allocations: 61.8 kB / 0.8353 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1663, allocations: 0 / 0.8353 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1663, allocations: 0 / 0.8353 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1663, allocations: 0 / 0.8353 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.1664, allocations: 19.98 kB / 0.8353 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1667, allocations: 247.8 kB / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.1668, allocations: 30.58 kB / 0.8356 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.1669, allocations: 20.97 kB / 0.8356 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1669, allocations: 4 kB / 0.8356 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.1671, allocations: 105.1 kB / 0.8357 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1671, allocations: 0 / 0.8357 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000286/0.1674, allocations: 139.3 kB / 0.8359 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1674, allocations: 81.09 kB / 0.8359 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.1675, allocations: 118.1 kB / 0.8361 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1675, allocations: 25.7 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1676, allocations: 92.14 kB / 0.8362 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1676, allocations: 23.78 kB / 0.8362 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1677, allocations: 29.7 kB / 0.8362 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1678, allocations: 322.7 kB / 0.8365 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.1678, allocations: 16.27 kB / 0.8365 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.1679, allocations: 42.5 kB / 0.8366 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.168, allocations: 118 kB / 0.8367 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.168, allocations: 0 / 0.8367 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001624/0.1682, allocations: 119.3 kB / 0.8368 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.1682, allocations: 33.69 kB / 0.8368 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1682, allocations: 0 / 0.8368 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1682, allocations: 4 kB / 0.8369 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/0.1683, allocations: 4.062 kB / 0.8369 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1683, allocations: 4.062 kB / 0.8369 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.1683, allocations: 19.94 kB / 0.8369 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1683, allocations: 4 kB / 0.8369 GB, free: 4.02 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 0.0001139/0.1684, allocations: 152.1 kB / 0.837 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.1685, allocations: 4 kB / 0.837 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.1685, allocations: 12.36 kB / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1685, allocations: 3.984 kB / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1685, allocations: 0 / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1685, allocations: 0 / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1689, allocations: 379.2 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1689, allocations: 4 kB / 0.8374 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.1689, allocations: 0 / 0.8374 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1689, allocations: 0 / 0.8374 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1689, allocations: 4 kB / 0.8374 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1689, allocations: 0 / 0.8374 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1689, allocations: 3.938 kB / 0.8374 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1692, allocations: 233.2 kB / 0.8376 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.1692, allocations: 7.938 kB / 0.8376 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1692, allocations: 4 kB / 0.8377 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.1693, allocations: 4 kB / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1693, allocations: 19.86 kB / 0.8377 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1694, allocations: 4 kB / 0.8377 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.1694, allocations: 87.36 kB / 0.8378 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1694, allocations: 3.938 kB / 0.8378 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002258/0.1696, allocations: 16 kB / 0.8378 GB, free: 2.996 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 0.0005062/0.1702, allocations: 0.7648 MB / 0.8385 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1703, allocations: 111.3 kB / 0.8386 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1703, allocations: 4 kB / 0.8386 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.1704, allocations: 75.39 kB / 0.8387 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1707, allocations: 26.08 kB / 0.8387 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.172, allocations: 1.424 MB / 0.8401 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1723, allocations: 0.6846 MB / 0.8408 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.1724, allocations: 4 kB / 0.8408 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1724, allocations: 19.42 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1724, allocations: 4 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1987, allocations: 2.049 MB / 0.8428 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.37, allocations: 4 kB / 0.8428 GB, free: 13.8 MB / 0.5919 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay.fmu > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.480559794999863] Failed to read output from testmodel.py, exit status != 0: 10.47043610199762 10.495317941 10.325668167 Calling exit ...