Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001132/0.001132, allocations: 182.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0009837/0.0009843, allocations: 87.61 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.466e-05/5.481e-05, allocations: 0 / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.208, allocations: 139.5 MB / 1.116 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.208, allocations: 69.94 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003129/1.211, allocations: 1.175 MB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.624e-06/1.211, allocations: 0 / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.211, allocations: 8.594 kB / 1.117 GB, free: 43.44 MB / 0.7448 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.0003709/1.212, allocations: 393.6 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.212, allocations: 12.03 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/1.212, allocations: 30.56 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/1.212, allocations: 8.812 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.859e-05/1.212, allocations: 164.1 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.212, allocations: 11.2 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/1.212, allocations: 4 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/1.212, allocations: 47.58 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/1.212, allocations: 0 / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.212, allocations: 3.75 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.212, allocations: 3 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/1.212, allocations: 20.67 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/1.212, allocations: 274.2 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/1.213, allocations: 49 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/1.213, allocations: 16.8 kB / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/1.213, allocations: 0 / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/1.213, allocations: 107.4 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.225e-06/1.213, allocations: 0.6562 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002015/1.213, allocations: 113.7 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.213, allocations: 84.98 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/1.213, allocations: 112.3 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/1.213, allocations: 25.7 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/1.213, allocations: 88.02 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/1.213, allocations: 11.62 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.213, allocations: 4 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/1.213, allocations: 323 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/1.213, allocations: 11.88 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/1.213, allocations: 37.95 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/1.213, allocations: 49.47 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.213, allocations: 0 / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001263/1.214, allocations: 125.6 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.214, allocations: 34.8 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.214, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.214, allocations: 0.5625 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/1.214, allocations: 11.81 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.214, allocations: 9.297 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/1.214, allocations: 8 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/1.214, allocations: 4 kB / 1.119 GB, free: 41.24 MB / 0.7448 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 7.858e-05/1.214, allocations: 148.7 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/1.214, allocations: 4.75 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/1.214, allocations: 8.5 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.214, allocations: 7.359 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.214, allocations: 0 / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.214, allocations: 4 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/1.214, allocations: 400.1 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.214, allocations: 0 / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/1.214, allocations: 4.391 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.214, allocations: 4.609 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.214, allocations: 3.812 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.214, allocations: 1.031 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.214, allocations: 0 / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/1.214, allocations: 227.5 kB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/1.215, allocations: 88.95 kB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/1.215, allocations: 5.109 kB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/1.215, allocations: 8 kB / 1.12 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/1.215, allocations: 8.969 kB / 1.12 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.215, allocations: 7.375 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.005e-05/1.215, allocations: 87.81 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.215, allocations: 4 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002003/1.215, allocations: 19.83 kB / 1.12 GB, free: 40.23 MB / 0.7448 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.0003099/1.215, allocations: 0.7585 MB / 1.121 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001279/1.215, allocations: 119.1 kB / 1.121 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.215, allocations: 0 / 1.121 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/1.216, allocations: 98.61 kB / 1.121 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/1.216, allocations: 5.766 kB / 1.121 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/1.216, allocations: 141.8 kB / 1.122 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/1.216, allocations: 0.6876 MB / 1.122 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.602e-05/1.216, allocations: 4 kB / 1.122 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/1.216, allocations: 15.19 kB / 1.122 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/1.216, allocations: 4 kB / 1.122 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/1.228, allocations: 1.599 MB / 1.124 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001245/1.228, allocations: 160.4 kB / 1.124 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.875, allocations: 4.031 kB / 1.124 GB, free: 37.31 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)