Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 284.9 MB / 292.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 172.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 89.75 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.586e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8524, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/1.102, allocations: 137.7 MB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.103, allocations: 67.97 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005004/1.108, allocations: 1.178 MB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/1.108, allocations: 0 / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.108, allocations: 0.5 kB / 1.099 GB, free: 1.523 MB / 0.698 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.0006013/1.108, allocations: 392.8 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.109, allocations: 8.844 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/1.109, allocations: 8.141 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.109, allocations: 175.5 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.109, allocations: 0 / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.109, allocations: 4.844 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.117e-05/1.109, allocations: 19.98 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/1.109, allocations: 46.25 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.109, allocations: 1.656 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/1.109, allocations: 0 / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.109, allocations: 6.609 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/1.11, allocations: 245.4 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/1.11, allocations: 35.77 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/1.11, allocations: 17.98 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/1.11, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/1.11, allocations: 102.1 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/1.11, allocations: 4.781 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002803/1.11, allocations: 85.25 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.11, allocations: 89.66 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/1.111, allocations: 100.6 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.111, allocations: 26.3 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/1.111, allocations: 88.14 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.111, allocations: 20.42 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/1.111, allocations: 0.5 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.111, allocations: 317.4 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/1.111, allocations: 19.94 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/1.111, allocations: 42.17 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/1.111, allocations: 16.53 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.111, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002027/1.111, allocations: 83.16 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.111, allocations: 41.69 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.111, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.111, allocations: 0.9062 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/1.111, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.111, allocations: 3.219 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.112, allocations: 8 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.112, allocations: 3.984 kB / 1.101 GB, free: 15.35 MB / 0.7136 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.112, allocations: 146.4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002227/1.112, allocations: 97.61 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/1.112, allocations: 11.89 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/1.112, allocations: 15.09 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.112, allocations: 0.9375 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.112, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.112, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/1.113, allocations: 342.2 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.113, allocations: 64 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/1.113, allocations: 4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.113, allocations: 4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.113, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.113, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.113, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/1.113, allocations: 203.3 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/1.113, allocations: 82.89 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/1.113, allocations: 4 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.113, allocations: 15.98 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/1.113, allocations: 11.98 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/1.113, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.597e-05/1.114, allocations: 91.23 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/1.114, allocations: 3.938 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003072/1.114, allocations: 12 kB / 1.102 GB, free: 14.24 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/1.114, allocations: 0.7213 MB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002285/1.115, allocations: 111.3 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.115, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/1.115, allocations: 86.3 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/1.115, allocations: 18.22 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/1.116, allocations: 129.3 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.116, allocations: 0.6846 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.661e-05/1.116, allocations: 7.984 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/1.116, allocations: 20.86 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.116, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/1.156, allocations: 1.278 MB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/1.156, allocations: 145.7 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.411, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)