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.00178/0.00178, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001995/0.001995, allocations: 209.8 kB / 23.03 MB, free: 4.43 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.141/3.141, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.001962/0.001962, allocations: 69.55 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 179 MB / 1.345 GB, free: 8 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002663/0.3595, allocations: 1.439 MB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.3603, allocations: 435 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.3603, allocations: 0 / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.3604, allocations: 3.938 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.3604, allocations: 15.91 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.3606, allocations: 23.92 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3607, allocations: 47.8 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.3608, allocations: 7.984 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.3609, allocations: 27.88 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.3609, allocations: 31.83 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.361, allocations: 4 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.361, allocations: 4 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.361, allocations: 0 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.361, allocations: 15.94 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3612, allocations: 52.03 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3612, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3612, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3612, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 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.0005979/0.3618, allocations: 327.8 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3618, allocations: 12.03 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.3618, allocations: 192 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.3619, allocations: 30.75 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.3619, allocations: 12.89 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.362, allocations: 110.5 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.362, allocations: 8.359 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3621, allocations: 4.375 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3622, allocations: 79.33 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3622, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3622, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3622, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.3623, allocations: 41.69 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.3627, allocations: 243.9 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3628, allocations: 68.2 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3628, allocations: 42.69 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3628, allocations: 0 / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.363, allocations: 134.8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.363, allocations: 4 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003225/0.3634, allocations: 202.7 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3634, allocations: 85.05 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3635, allocations: 109.8 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3636, allocations: 29.98 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.3636, allocations: 88.12 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3636, allocations: 19.83 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3637, allocations: 29.66 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3638, allocations: 322.8 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.3639, allocations: 49.62 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.3639, allocations: 72.2 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.364, allocations: 114 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.364, allocations: 0 / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001846/0.3642, allocations: 157 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.3643, allocations: 29.7 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3643, allocations: 0 / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3643, allocations: 11.92 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.3643, allocations: 4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3643, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.3644, allocations: 12.05 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3644, allocations: 4 kB / 1.35 GB, free: 11.15 MB / 1.045 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.0001158/0.3645, allocations: 151.5 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.3645, allocations: 7.953 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.3646, allocations: 8.375 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3646, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3646, allocations: 4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3646, allocations: 0 / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.365, allocations: 392.9 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.365, allocations: 0 / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.365, allocations: 11.94 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.365, allocations: 0 / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.365, allocations: 4.062 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.365, allocations: 4 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.365, allocations: 3.938 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3653, allocations: 266.8 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.3653, allocations: 4.047 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3653, allocations: 7.938 kB / 1.35 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3654, allocations: 7.984 kB / 1.35 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3655, allocations: 19.86 kB / 1.35 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3655, allocations: 8 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.3655, allocations: 83.28 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002308/0.3658, allocations: 16 kB / 1.351 GB, free: 10.07 MB / 1.045 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.0005436/0.3663, allocations: 0.7938 MB / 1.351 GB, free: 9.234 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3665, allocations: 166.8 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3665, allocations: 3.938 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.3666, allocations: 105.1 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3669, allocations: 33 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3684, allocations: 1.565 MB / 1.353 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.3685, allocations: 68.09 kB / 1.353 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.3685, allocations: 7.984 kB / 1.353 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.3685, allocations: 19.44 kB / 1.353 GB, free: 7.082 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.3685, allocations: 0 / 1.353 GB, free: 7.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3901, allocations: 2.149 MB / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.32, allocations: 10.03 kB / 1.355 GB, free: 5.078 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.986072761937976] Failed to read output from testmodel.py, exit status != 0: 12.481065219966695 12.498569192 12.134055827 Calling exit ...