Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 189.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 95.64 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 12.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2598, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.4511, allocations: 131.8 MB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4515, allocations: 75.94 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00278/0.4543, allocations: 0.9737 MB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4543, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4543, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005382/0.4548, allocations: 383 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4549, allocations: 15.95 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.455, allocations: 30.56 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.455, allocations: 7.906 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4552, allocations: 175 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4552, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4552, allocations: 11.98 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4554, allocations: 77.59 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4555, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4555, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4555, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.4557, allocations: 63.94 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.4563, allocations: 316.6 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.4567, allocations: 118.6 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4568, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.4571, allocations: 91.52 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.4571, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004977/0.4576, allocations: 137.5 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.4577, allocations: 59.36 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4578, allocations: 113.2 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.4578, allocations: 29.7 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.4579, allocations: 92.31 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.4579, allocations: 15.8 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.458, allocations: 384 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4581, allocations: 318.8 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4582, allocations: 31.97 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4584, allocations: 71.28 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4585, allocations: 35.98 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4585, allocations: 0 / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002614/0.4588, allocations: 117.5 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4588, allocations: 7.984 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4588, allocations: 8.094 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4589, allocations: 0 / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.459, allocations: 19.92 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.459, allocations: 3.938 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4591, allocations: 27.88 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.4591, allocations: 4 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001155/0.4592, allocations: 120.2 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.4592, allocations: 7.906 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.4593, allocations: 8.375 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4593, allocations: 4 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4593, allocations: 4.062 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4593, allocations: 3.984 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.4598, allocations: 378.4 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4598, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.4599, allocations: 11.98 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4599, allocations: 0 / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4599, allocations: 0 / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4599, allocations: 0 / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4599, allocations: 3.953 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.4602, allocations: 220.4 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.4603, allocations: 81.02 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4603, allocations: 0 / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4604, allocations: 19.98 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4605, allocations: 15.94 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.4605, allocations: 7.984 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.4606, allocations: 91.41 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4606, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002173/0.4608, allocations: 8 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.00068/0.4615, allocations: 0.7553 MB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4618, allocations: 79.89 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4618, allocations: 0 / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4619, allocations: 35.98 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4622, allocations: 16.17 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.4636, allocations: 1.041 MB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4639, allocations: 0.6887 MB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.4639, allocations: 8 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.464, allocations: 23.42 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.464, allocations: 0 / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.476, allocations: 1.653 MB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.4763, allocations: 192.9 kB / 1.038 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.95, allocations: 3.938 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)