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.001261/0.001261, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001382/0.001382, allocations: 219.9 kB / 23.04 MB, free: 5.074 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.763/2.763, allocations: 476.7 MB / 0.7715 GB, free: 4.309 MB / 0.6231 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.002052/0.002052, allocations: 67.73 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3769, allocations: 169.9 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00383/0.3807, allocations: 1.463 MB / 1.286 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3819, allocations: 484.6 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.3819, allocations: 0 / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.382, allocations: 3.938 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3821, allocations: 15.91 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3823, allocations: 19.92 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3825, allocations: 47.8 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3826, allocations: 7.984 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.3827, allocations: 19.88 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.3828, allocations: 27.91 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3828, allocations: 4 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.3828, allocations: 8 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3828, allocations: 3.984 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.3829, allocations: 23.88 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.383, allocations: 43.39 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 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.0008098/0.3839, allocations: 323.8 kB / 1.287 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.3839, allocations: 12.03 kB / 1.287 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.384, allocations: 192 / 1.287 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.384, allocations: 38.75 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.384, allocations: 0.9375 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3842, allocations: 122.4 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3842, allocations: 4.375 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3842, allocations: 8.359 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3844, allocations: 53.62 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3844, allocations: 0 / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3844, allocations: 7.938 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3844, allocations: 0 / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.3845, allocations: 15.98 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.385, allocations: 247.9 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.3851, allocations: 38.56 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.3851, allocations: 12.98 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.3852, allocations: 8 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.3854, allocations: 105.1 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3854, allocations: 0 / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003271/0.3858, allocations: 135.3 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.3859, allocations: 85.11 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.386, allocations: 109.8 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.386, allocations: 25.7 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.3861, allocations: 92.09 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3861, allocations: 19.84 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3861, allocations: 29.64 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3863, allocations: 322.8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.3864, allocations: 15.98 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.3864, allocations: 38.56 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3866, allocations: 122.3 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3866, allocations: 0 / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002582/0.3868, allocations: 123.3 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.3869, allocations: 39.89 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3869, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3869, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.3869, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3869, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.387, allocations: 20.11 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.387, allocations: 3.938 kB / 1.288 GB, free: 7.289 MB / 0.9825 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.0001628/0.3872, allocations: 147.9 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3872, allocations: 11.94 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.3872, allocations: 12.38 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3872, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3872, allocations: 3.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3873, allocations: 3.938 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.3877, allocations: 371.3 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3877, allocations: 3.938 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-06/0.3877, allocations: 4 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3877, allocations: 4 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3877, allocations: 7.922 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.388, allocations: 229.1 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.388, allocations: 11.89 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.388, allocations: 8 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3881, allocations: 11.98 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.3882, allocations: 11.92 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3882, allocations: 3.984 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.3883, allocations: 87.28 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3883, allocations: 0 / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002356/0.3885, allocations: 16 kB / 1.289 GB, free: 6.262 MB / 0.9825 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.0005837/0.3891, allocations: 0.7649 MB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3893, allocations: 103.3 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3893, allocations: 3.938 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3894, allocations: 87.38 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3898, allocations: 19.97 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3913, allocations: 1.433 MB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3917, allocations: 0.6846 MB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.3917, allocations: 7.984 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.3918, allocations: 15.44 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3918, allocations: 0 / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.4161, allocations: 2.071 MB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 17.47 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.22487788798753] Failed to read output from testmodel.py, exit status != 0: 12.27143470197916 11.745899308 11.357516046 Calling exit ...