Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001944/0.001944, allocations: 116.1 kB / 17.17 MB, free: 6 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.002335/0.002335, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.531/1.531, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.675/2.675, allocations: 476.7 MB / 0.7678 GB, free: 9.297 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_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.002003/0.002003, allocations: 63.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003001/1.089, allocations: 1.439 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/1.09, allocations: 490.3 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/1.09, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/1.09, allocations: 0.6562 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/1.091, allocations: 16.2 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/1.091, allocations: 11.22 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000152/1.091, allocations: 54.78 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/1.091, allocations: 8.078 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/1.091, allocations: 30.48 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/1.091, allocations: 23.44 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/1.091, allocations: 3.75 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/1.091, allocations: 3.281 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/1.091, allocations: 3.562 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/1.091, allocations: 25.03 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/1.091, allocations: 45.16 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.091, allocations: 3.938 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.091, allocations: 0 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.091, allocations: 0.875 kB / 1.281 GB, free: 10.26 MB / 0.9981 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.0007271/1.092, allocations: 395.4 kB / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.092, allocations: 11.25 kB / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/1.092, allocations: 192 / 1.281 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/1.092, allocations: 33.62 kB / 1.281 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/1.092, allocations: 4.719 kB / 1.281 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.092, allocations: 177.4 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.092, allocations: 1.344 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/1.092, allocations: 7.781 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/1.093, allocations: 63.08 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.093, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.093, allocations: 1.906 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.093, allocations: 1.094 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/1.093, allocations: 20.31 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/1.093, allocations: 277.1 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/1.093, allocations: 37.73 kB / 1.282 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/1.093, allocations: 16.95 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/1.093, allocations: 1.844 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/1.093, allocations: 103.9 kB / 1.282 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/1.093, allocations: 1.188 kB / 1.282 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003513/1.094, allocations: 140.6 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/1.094, allocations: 81.38 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.094, allocations: 114.9 kB / 1.282 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/1.094, allocations: 27.39 kB / 1.282 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.094, allocations: 91.17 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/1.094, allocations: 24.05 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/1.094, allocations: 24.91 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.094, allocations: 322.2 kB / 1.283 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/1.094, allocations: 14.83 kB / 1.283 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/1.094, allocations: 41.19 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.095, allocations: 111.1 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.095, allocations: 0.5625 kB / 1.283 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002426/1.095, allocations: 122.8 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/1.095, allocations: 33.55 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/1.095, allocations: 0.5 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.095, allocations: 6.328 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/1.095, allocations: 3.688 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.095, allocations: 1.094 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/1.095, allocations: 11 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.095, allocations: 3.531 kB / 1.283 GB, free: 8.082 MB / 0.9981 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.0001466/1.095, allocations: 158.9 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/1.095, allocations: 8.688 kB / 1.283 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/1.095, allocations: 14.14 kB / 1.283 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.095, allocations: 5.031 kB / 1.283 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.095, allocations: 1.203 kB / 1.283 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.095, allocations: 0.5 kB / 1.283 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/1.096, allocations: 405.1 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.096, allocations: 1.344 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-06/1.096, allocations: 0.6094 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.096, allocations: 1.406 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.096, allocations: 2.109 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.096, allocations: 1.281 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.096, allocations: 3.938 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/1.096, allocations: 238.2 kB / 1.284 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.096, allocations: 84.14 kB / 1.284 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/1.096, allocations: 6.891 kB / 1.284 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/1.096, allocations: 8.125 kB / 1.284 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/1.096, allocations: 13.42 kB / 1.284 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/1.097, allocations: 3.594 kB / 1.284 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.569e-05/1.097, allocations: 91.33 kB / 1.284 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.097, allocations: 0 / 1.284 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002581/1.097, allocations: 15.42 kB / 1.284 GB, free: 7.137 MB / 0.9981 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.000668/1.098, allocations: 0.7653 MB / 1.285 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/1.098, allocations: 111 kB / 1.285 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.098, allocations: 4.062 kB / 1.285 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/1.098, allocations: 81.83 kB / 1.285 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/1.098, allocations: 19.97 kB / 1.285 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/1.1, allocations: 1.431 MB / 1.287 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.1, allocations: 0.6885 MB / 1.287 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.304e-05/1.1, allocations: 5.547 kB / 1.287 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/1.1, allocations: 14.86 kB / 1.287 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/1.1, allocations: 0 / 1.287 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/1.12, allocations: 1.944 MB / 1.289 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.412/10.53, allocations: 8.375 kB / 1.289 GB, free: 3.758 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.638960122014396] Failed to read output from testmodel.py, exit status != 0: 10.66139830800239 10.677069362 9.582411148 Calling exit ...