Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.612/2.612, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001598/0.001597, allocations: 184.8 kB / 370.8 MB, free: 10.86 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.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 90.91 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004828, allocations: 13.97 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.211, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.983/1.194, allocations: 138.2 MB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.194, allocations: 71.66 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009998/1.204, allocations: 2.105 MB / 1.115 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.204, allocations: 0 / 1.115 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.204, allocations: 4 kB / 1.115 GB, free: 31.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007248/1.205, allocations: 411 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.205, allocations: 15.67 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/1.205, allocations: 33.56 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/1.205, allocations: 7.812 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.205, allocations: 178.5 kB / 1.116 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/1.205, allocations: 11.81 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/1.206, allocations: 17.53 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.206, allocations: 69.45 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.206, allocations: 3.984 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.206, allocations: 0 / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.206, allocations: 3.812 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/1.206, allocations: 57.27 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/1.207, allocations: 336.8 kB / 1.116 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/1.207, allocations: 68.3 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/1.207, allocations: 0 / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/1.207, allocations: 98.66 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.076e-06/1.208, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007326/1.208, allocations: 152 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/1.208, allocations: 65.95 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/1.208, allocations: 111.3 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/1.209, allocations: 33.05 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.209, allocations: 93.75 kB / 1.117 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/1.209, allocations: 13.38 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/1.209, allocations: 6.469 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.209, allocations: 317.5 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/1.21, allocations: 58.64 kB / 1.117 GB, free: 29.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/1.211, allocations: 93.64 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/1.211, allocations: 86.62 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.211, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007658/1.212, allocations: 225.8 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/1.212, allocations: 36.38 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.212, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.212, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.212, allocations: 17.23 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.212, allocations: 6.828 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/1.213, allocations: 54.91 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/1.213, allocations: 14.34 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001535/1.213, allocations: 119.4 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/1.213, allocations: 7.781 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/1.213, allocations: 17.14 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.213, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.213, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.213, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/1.214, allocations: 384.5 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.214, allocations: 3.812 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/1.214, allocations: 14.48 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.214, allocations: 0 / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.214, allocations: 3.375 kB / 1.119 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/1.214, allocations: 2.719 kB / 1.119 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.214, allocations: 3.953 kB / 1.119 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/1.214, allocations: 216.3 kB / 1.119 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/1.215, allocations: 81.02 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/1.215, allocations: 2.859 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.215, allocations: 14.31 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/1.215, allocations: 14.89 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/1.215, allocations: 4.062 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.891e-05/1.215, allocations: 96.91 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.615e-06/1.215, allocations: 0 / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003935/1.215, allocations: 27.31 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0009988/1.216, allocations: 0.7685 MB / 1.12 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006479/1.217, allocations: 189.3 kB / 1.12 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.217, allocations: 0 / 1.12 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/1.217, allocations: 49.7 kB / 1.12 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/1.218, allocations: 11.03 kB / 1.12 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.219, allocations: 1.01 MB / 1.121 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.219, allocations: 0.6896 MB / 1.122 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.453e-05/1.219, allocations: 7.906 kB / 1.122 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/1.219, allocations: 22.05 kB / 1.122 GB, free: 26.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.553e-06/1.219, allocations: 3.938 kB / 1.122 GB, free: 26.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/1.244, allocations: 2.184 MB / 1.124 GB, free: 26.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.244, allocations: 188.3 kB / 1.124 GB, free: 25.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.742, allocations: 0 / 1.124 GB, free: 25.8 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)