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.0007246/0.0007246, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007345/0.0007345, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8594/0.8594, allocations: 177.1 MB / 202.8 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.001349/0.001349, allocations: 232.8 kB / 259.4 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.633/0.633, allocations: 138.4 MB / 454.3 MB, free: 1.66 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6462 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.748e-05, allocations: 8.391 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001687/0.001704, allocations: 1.429 MB / 0.6476 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005294/0.002234, allocations: 442.8 kB / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.002273, allocations: 0 / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.0023, allocations: 9.453 kB / 0.6481 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.002373, allocations: 12.84 kB / 0.6481 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.002519, allocations: 19.44 kB / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.002623, allocations: 56.16 kB / 0.6482 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.002703, allocations: 2.594 kB / 0.6482 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.002772, allocations: 26.08 kB / 0.6482 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.002833, allocations: 18.64 kB / 0.6482 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002852, allocations: 6.625 kB / 0.6482 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002862, allocations: 4.375 kB / 0.6482 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.002885, allocations: 13 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.00292, allocations: 14.59 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003025, allocations: 48.66 kB / 0.6483 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003027, allocations: 0.9375 kB / 0.6483 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003028, allocations: 3.938 kB / 0.6483 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003032, allocations: 0 / 0.6483 GB, free: 27.5 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.0004044/0.003436, allocations: 311.6 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003473, allocations: 13.69 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.919e-05/0.003493, allocations: 36.19 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.003517, allocations: 8.703 kB / 0.6486 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.003578, allocations: 113.7 kB / 0.6488 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003589, allocations: 1.75 kB / 0.6488 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.003598, allocations: 7 kB / 0.6488 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.003689, allocations: 73.08 kB / 0.6488 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003695, allocations: 192 / 0.6488 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.003707, allocations: 13.48 kB / 0.6488 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003712, allocations: 3.938 kB / 0.6489 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.00376, allocations: 45.45 kB / 0.6489 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.004033, allocations: 235.9 kB / 0.6491 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.299e-05/0.004096, allocations: 69.14 kB / 0.6492 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.004123, allocations: 47.5 kB / 0.6492 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.004139, allocations: 0 / 0.6492 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.004269, allocations: 135.3 kB / 0.6494 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.00427, allocations: 0 / 0.6494 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.000206/0.004476, allocations: 199.3 kB / 0.6496 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.004504, allocations: 87.5 kB / 0.6496 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.506e-05/0.00455, allocations: 107.4 kB / 0.6497 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.004556, allocations: 31.17 kB / 0.6498 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.004579, allocations: 85.67 kB / 0.6498 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.004593, allocations: 24.03 kB / 0.6499 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.00462, allocations: 26.36 kB / 0.6499 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.781e-05/0.004648, allocations: 316.3 kB / 0.6502 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.004674, allocations: 52 kB / 0.6502 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.004708, allocations: 69.42 kB / 0.6503 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.004769, allocations: 110.7 kB / 0.6504 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004771, allocations: 0 / 0.6504 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.607e-05/0.004867, allocations: 156.3 kB / 0.6506 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.004888, allocations: 40.2 kB / 0.6506 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004892, allocations: 1.156 kB / 0.6506 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.004903, allocations: 1.281 kB / 0.6506 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-05/0.004936, allocations: 6.984 kB / 0.6506 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004942, allocations: 5.344 kB / 0.6506 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.00498, allocations: 13.17 kB / 0.6506 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.004987, allocations: 2.938 kB / 0.6506 GB, free: 25.1 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 4.97e-05/0.005037, allocations: 152 kB / 0.6508 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.005045, allocations: 7.875 kB / 0.6508 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.005063, allocations: 9.406 kB / 0.6508 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.005065, allocations: 5.297 kB / 0.6508 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.005068, allocations: 1.406 kB / 0.6508 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005071, allocations: 3.938 kB / 0.6508 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.005305, allocations: 401.3 kB / 0.6512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005306, allocations: 1.812 kB / 0.6512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-06/0.00531, allocations: 3.938 kB / 0.6512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005311, allocations: 1.781 kB / 0.6512 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.005319, allocations: 5.266 kB / 0.6512 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00532, allocations: 4 kB / 0.6512 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005321, allocations: 1.75 kB / 0.6512 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.005433, allocations: 255.8 kB / 0.6515 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.005442, allocations: 6.328 kB / 0.6515 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.005455, allocations: 5.625 kB / 0.6515 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.005509, allocations: 13.95 kB / 0.6515 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.005546, allocations: 7.484 kB / 0.6515 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.005558, allocations: 3.031 kB / 0.6515 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.005579, allocations: 90.25 kB / 0.6516 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005579, allocations: 0 / 0.6516 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001519/0.005731, allocations: 20.78 kB / 0.6516 GB, free: 24.19 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 0.0002114/0.005942, allocations: 0.8027 MB / 0.6524 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.006068, allocations: 166 kB / 0.6525 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00607, allocations: 1.156 kB / 0.6525 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.006116, allocations: 108.8 kB / 0.6526 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.006314, allocations: 30.41 kB / 0.6527 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/0.007013, allocations: 1.569 MB / 0.6542 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.00705, allocations: 80.98 kB / 0.6543 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.007072, allocations: 3.719 kB / 0.6543 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.007105, allocations: 19.89 kB / 0.6543 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of SimCode: time 4.6e-07/0.007105, allocations: 0 / 0.6543 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02248, allocations: 2.628 MB / 0.6569 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.72, allocations: 4.766 kB / 0.6569 GB, free: 19.93 MB / 0.5105 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: 9.399042903445661] Failed to read output from testmodel.py, exit status != 0: 6.7972380220890045 6.804050924 6.799638058 Calling exit ...