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.001206/0.001206, allocations: 109.1 kB / 16.45 MB, free: 6.508 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.001263/0.001263, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.304/1.304, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 179] 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.00235/0.00235, allocations: 296.3 kB / 309.1 MB, free: 4.004 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.113/1.113, allocations: 180.9 MB / 0.5333 GB, free: 13.73 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 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.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.002629/0.002629, allocations: 96.81 kB / 0.7342 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1408, allocations: 95.34 MB / 0.8273 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002371/0.1431, allocations: 1.445 MB / 0.8287 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.1439, allocations: 488.4 kB / 0.8292 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1439, allocations: 0 / 0.8292 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.1439, allocations: 7.922 kB / 0.8292 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.144, allocations: 3.938 kB / 0.8292 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1441, allocations: 23.91 kB / 0.8292 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1442, allocations: 47.84 kB / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.1443, allocations: 8 kB / 0.8293 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.1444, allocations: 27.86 kB / 0.8293 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1444, allocations: 19.92 kB / 0.8293 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1444, allocations: 4 kB / 0.8293 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.1445, allocations: 0 / 0.8293 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.1445, allocations: 15.92 kB / 0.8293 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1445, allocations: 19.92 kB / 0.8294 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.996e-05/0.1446, allocations: 44.05 kB / 0.8294 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1446, allocations: 0 / 0.8294 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1446, allocations: 4 kB / 0.8294 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1446, allocations: 0 / 0.8294 GB, free: 7.75 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.0005579/0.1452, allocations: 393 kB / 0.8298 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1452, allocations: 12.03 kB / 0.8298 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1453, allocations: 34.73 kB / 0.8298 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1453, allocations: 8.891 kB / 0.8298 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1454, allocations: 164.4 kB / 0.83 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1454, allocations: 8.375 kB / 0.83 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1454, allocations: 8.312 kB / 0.83 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1455, allocations: 57.8 kB / 0.8301 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1455, allocations: 0 / 0.8301 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1455, allocations: 0 / 0.8301 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1456, allocations: 4 kB / 0.8301 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.1456, allocations: 16 kB / 0.8301 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.146, allocations: 272.8 kB / 0.8303 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.146, allocations: 42.52 kB / 0.8304 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.1461, allocations: 20.97 kB / 0.8304 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1461, allocations: 4 kB / 0.8304 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1462, allocations: 93.09 kB / 0.8305 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1462, allocations: 0 / 0.8305 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002725/0.1465, allocations: 151.3 kB / 0.8306 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1466, allocations: 85.09 kB / 0.8307 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.1467, allocations: 113.8 kB / 0.8308 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1467, allocations: 29.7 kB / 0.8309 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.1467, allocations: 80.14 kB / 0.8309 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1468, allocations: 27.73 kB / 0.831 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1468, allocations: 29.7 kB / 0.831 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1469, allocations: 318.8 kB / 0.8313 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.147, allocations: 19.98 kB / 0.8313 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.147, allocations: 38.5 kB / 0.8313 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1471, allocations: 110 kB / 0.8315 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1471, allocations: 0 / 0.8315 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001523/0.1473, allocations: 123.3 kB / 0.8316 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.1473, allocations: 37.69 kB / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1473, allocations: 0 / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1473, allocations: 0 / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.1474, allocations: 7.938 kB / 0.8316 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1474, allocations: 4.062 kB / 0.8316 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1474, allocations: 15.94 kB / 0.8316 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1474, allocations: 4.391 kB / 0.8316 GB, free: 5.164 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.0001052/0.1475, allocations: 151 kB / 0.8318 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.1476, allocations: 4 kB / 0.8318 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.1476, allocations: 12.36 kB / 0.8318 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1476, allocations: 0 / 0.8318 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1476, allocations: 0 / 0.8318 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1476, allocations: 4 kB / 0.8318 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.148, allocations: 404.1 kB / 0.8322 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.148, allocations: 3.984 kB / 0.8322 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-06/0.148, allocations: 0 / 0.8322 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.148, allocations: 4 kB / 0.8322 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.148, allocations: 0 / 0.8322 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.148, allocations: 4.312 kB / 0.8322 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.148, allocations: 3.938 kB / 0.8322 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1482, allocations: 233.2 kB / 0.8324 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1483, allocations: 93.05 kB / 0.8325 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1483, allocations: 4 kB / 0.8325 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1484, allocations: 15.98 kB / 0.8325 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1485, allocations: 7.938 kB / 0.8325 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1485, allocations: 4 kB / 0.8325 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.1485, allocations: 95.34 kB / 0.8326 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1485, allocations: 0 / 0.8326 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002286/0.1487, allocations: 16 kB / 0.8326 GB, free: 4.008 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.0004885/0.1492, allocations: 0.7648 MB / 0.8334 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1494, allocations: 103.4 kB / 0.8335 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1494, allocations: 0 / 0.8335 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.1495, allocations: 87.33 kB / 0.8336 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1497, allocations: 25.77 kB / 0.8336 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.151, allocations: 1.415 MB / 0.835 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1513, allocations: 0.6922 MB / 0.8357 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.1513, allocations: 4 kB / 0.8357 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1514, allocations: 23.7 kB / 0.8357 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1514, allocations: 4 kB / 0.8357 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1752, allocations: 1.898 MB / 0.8375 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.313, allocations: 15.97 kB / 0.8376 GB, free: 14.92 MB / 0.5919 GB " [Timeout remaining time 653] (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: 10.98971836315468] Failed to read output from testmodel.py, exit status != 0: 7.37779502524063 7.393988181 7.246397103 Calling exit ...