Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001688/0.001688, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002029/0.002029, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.066/3.066, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002163/0.002163, allocations: 67.89 kB / 1.165 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 178.9 MB / 1.34 GB, free: 16.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002897/1.087, allocations: 1.448 MB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/1.088, allocations: 480.6 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/1.088, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/1.088, allocations: 1.734 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/1.088, allocations: 14.92 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/1.088, allocations: 15.48 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/1.089, allocations: 50.67 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.089, allocations: 12.44 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/1.089, allocations: 18.72 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/1.089, allocations: 26.78 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/1.089, allocations: 8.312 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/1.089, allocations: 3.656 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/1.089, allocations: 7.031 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/1.089, allocations: 24.31 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/1.089, allocations: 49.45 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.089, allocations: 0.7969 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.089, allocations: 0 / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.089, allocations: 1.438 kB / 1.342 GB, free: 14.89 MB / 1.061 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.0006023/1.09, allocations: 395.7 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.09, allocations: 9.766 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/1.09, allocations: 1.312 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.411e-05/1.09, allocations: 33.33 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/1.09, allocations: 8.078 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/1.09, allocations: 180.3 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/1.09, allocations: 3.438 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/1.09, allocations: 6.812 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.09, allocations: 59.2 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.09, allocations: 4 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.09, allocations: 2.203 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.09, allocations: 0 / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/1.09, allocations: 16.39 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/1.091, allocations: 270 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/1.091, allocations: 37.92 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/1.091, allocations: 22.23 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/1.091, allocations: 8.547 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.091, allocations: 104.9 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.091, allocations: 0 / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002873/1.091, allocations: 136.4 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.091, allocations: 81.36 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/1.091, allocations: 115.3 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/1.091, allocations: 26.67 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/1.091, allocations: 91.45 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.091, allocations: 16.14 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/1.091, allocations: 29.09 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.084e-05/1.091, allocations: 322.2 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/1.092, allocations: 15.23 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/1.092, allocations: 32.55 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/1.092, allocations: 119.6 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.092, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000145/1.092, allocations: 123.3 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.092, allocations: 33.19 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.092, allocations: 1.312 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.092, allocations: 2.047 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/1.092, allocations: 3.938 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.092, allocations: 5.719 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/1.092, allocations: 18.06 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.092, allocations: 3.469 kB / 1.344 GB, free: 12.7 MB / 1.061 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 8.441e-05/1.092, allocations: 150.8 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.092, allocations: 12.3 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/1.092, allocations: 10.5 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.092, allocations: 1.094 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.092, allocations: 0.5625 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.092, allocations: 1.125 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/1.092, allocations: 408.5 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.092, allocations: 1.031 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/1.092, allocations: 4.969 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.093, allocations: 0.6562 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/1.093, allocations: 2.797 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.093, allocations: 1.031 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.093, allocations: 3.938 kB / 1.345 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/1.093, allocations: 238.9 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/1.093, allocations: 83.55 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.093, allocations: 2.328 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/1.093, allocations: 12.19 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/1.093, allocations: 14.66 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.093, allocations: 4.516 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.581e-05/1.093, allocations: 87.45 kB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.093, allocations: 0 / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002326/1.093, allocations: 13.53 kB / 1.345 GB, free: 11.77 MB / 1.061 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.0003627/1.094, allocations: 0.7702 MB / 1.346 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001871/1.094, allocations: 114.8 kB / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.094, allocations: 0 / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/1.094, allocations: 81.39 kB / 1.346 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.094, allocations: 30.52 kB / 1.346 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.095, allocations: 1.405 MB / 1.348 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/1.095, allocations: 0.6896 MB / 1.348 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.156e-05/1.095, allocations: 3.547 kB / 1.348 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/1.095, allocations: 25.11 kB / 1.348 GB, free: 8.848 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.095, allocations: 0 / 1.348 GB, free: 8.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.115, allocations: 1.939 MB / 1.35 GB, free: 8.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/10.03, allocations: 4.625 kB / 1.35 GB, free: 8.402 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.618583886011038] Failed to read output from testmodel.py, exit status != 0: 10.156110285024624 10.173512454 9.080819234 Calling exit ...