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.796/1.796, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001213/0.001213, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.78/1.78, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0008783/0.0008784, allocations: 91.73 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.133e-05, allocations: 0 / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.749, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.9335, allocations: 138.8 MB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.9338, allocations: 67.97 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003838/0.9377, allocations: 1.18 MB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9377, allocations: 2.812 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.9377, allocations: 0.625 kB / 1.11 GB, free: 10.03 MB / 0.7136 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.0004986/0.9382, allocations: 390 kB / 1.111 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.9383, allocations: 8.031 kB / 1.111 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.9384, allocations: 4.531 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9385, allocations: 179.5 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.9385, allocations: 3.984 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.9386, allocations: 4.875 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.9386, allocations: 12 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.9387, allocations: 42.28 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9388, allocations: 5.469 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.9388, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9388, allocations: 0 / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.9392, allocations: 255.6 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.9393, allocations: 38.56 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.9394, allocations: 20.98 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.9394, allocations: 2.812 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.9395, allocations: 93.09 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.9395, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002103/0.9398, allocations: 96.88 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.9398, allocations: 82.39 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.9399, allocations: 97 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.9399, allocations: 31.48 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.94, allocations: 87.34 kB / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.94, allocations: 19.88 kB / 1.112 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.94, allocations: 4 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.9401, allocations: 322.8 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.9402, allocations: 12 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.9402, allocations: 33.27 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.9403, allocations: 17.91 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9403, allocations: 4 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001346/0.9404, allocations: 86.89 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.9405, allocations: 29.7 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9405, allocations: 6.953 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9405, allocations: 3.938 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.9406, allocations: 4.812 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9406, allocations: 0 / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.9407, allocations: 12.98 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.9407, allocations: 0.7188 kB / 1.112 GB, free: 7.855 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.0001342/0.9408, allocations: 148.4 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00018/0.941, allocations: 95.39 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.941, allocations: 7.906 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.9411, allocations: 8.625 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9411, allocations: 4.062 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9411, allocations: 4 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9411, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.9414, allocations: 339 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9414, allocations: 0 / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.9415, allocations: 0 / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9415, allocations: 3.562 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9415, allocations: 4 kB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9415, allocations: 0 / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9415, allocations: 0 / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.9417, allocations: 203.3 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.9417, allocations: 83.08 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.9418, allocations: 7.984 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.9419, allocations: 12 kB / 1.113 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.9419, allocations: 3.984 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.942, allocations: 4 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.942, allocations: 95.27 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.942, allocations: 3.938 kB / 1.113 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002252/0.9423, allocations: 15.98 kB / 1.113 GB, free: 6.746 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.0004205/0.9427, allocations: 0.7202 MB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.9429, allocations: 110.1 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9429, allocations: 8.125 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.9429, allocations: 83.41 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.9432, allocations: 10.86 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.9436, allocations: 128.1 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.9438, allocations: 0.6892 MB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.9439, allocations: 7.781 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.9439, allocations: 23.38 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9439, allocations: 0 / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.9639, allocations: 1.284 MB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.9642, allocations: 138.7 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.559, allocations: 0.5 kB / 1.116 GB, free: 3.434 MB / 0.7136 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)