Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001937/0.001937, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002539/0.002539, allocations: 220.6 kB / 23.03 MB, free: 4.918 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.421/1.421, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_12_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.001933/0.001933, allocations: 68.12 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3615, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002725/0.3643, allocations: 1.45 MB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008604/0.3651, allocations: 442.9 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.3652, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.3652, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3653, allocations: 15.84 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3655, allocations: 23.92 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3657, allocations: 43.92 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3658, allocations: 11.92 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.3658, allocations: 15.94 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.3659, allocations: 31.89 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.366, allocations: 8 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.366, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.366, allocations: 7.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.3661, allocations: 15.94 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3662, allocations: 48.03 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3663, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3663, allocations: 3.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3663, allocations: 3.984 kB / 1.329 GB, free: 15.41 MB / 1.029 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.0008592/0.3671, allocations: 323.9 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.3672, allocations: 8.031 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.314e-05/0.3672, allocations: 192 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3673, allocations: 34.75 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.3673, allocations: 4.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3675, allocations: 114.5 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3675, allocations: 4.359 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3675, allocations: 4.375 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3677, allocations: 83.27 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3677, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3677, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3677, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3678, allocations: 49.69 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3684, allocations: 231.9 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3686, allocations: 68.27 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.3686, allocations: 42.69 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.3687, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.369, allocations: 138.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.369, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004311/0.3694, allocations: 198.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.3695, allocations: 85.11 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3696, allocations: 109.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3696, allocations: 25.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3697, allocations: 96.08 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3697, allocations: 19.84 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3698, allocations: 21.72 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.37, allocations: 322.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.3701, allocations: 45.69 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.3701, allocations: 64.27 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3703, allocations: 122.3 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3703, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002334/0.3705, allocations: 168.9 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.3706, allocations: 33.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3706, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3706, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.3707, allocations: 4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3707, allocations: 7.922 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.3707, allocations: 8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3708, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 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.0001626/0.3709, allocations: 160.1 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3709, allocations: 7.953 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.371, allocations: 12.36 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.371, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.371, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.371, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.3715, allocations: 400.9 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3715, allocations: 384 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.3715, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3715, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3715, allocations: 8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3715, allocations: 3.938 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3715, allocations: 3.938 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3719, allocations: 262.8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3719, allocations: 7.953 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3719, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.372, allocations: 15.98 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.3721, allocations: 11.92 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3721, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.3721, allocations: 87.28 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002302/0.3724, allocations: 12 kB / 1.332 GB, free: 11.61 MB / 1.029 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.000781/0.3732, allocations: 0.79 MB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3734, allocations: 170.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3734, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3735, allocations: 113 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3738, allocations: 29.58 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3754, allocations: 1.564 MB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.385e-05/0.3754, allocations: 67.34 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.3754, allocations: 11.92 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.3755, allocations: 15.44 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3755, allocations: 0 / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3976, allocations: 2.159 MB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.2, allocations: 4.062 kB / 1.337 GB, free: 6.621 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.637551768915728] Failed to read output from testmodel.py, exit status != 0: 12.356591374031268 12.374108114 12.004628055 Calling exit ...