Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001153/0.001153, allocations: 182.2 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.597/1.597, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009782/0.0009781, allocations: 89.78 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.439e-05/5.456e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3341, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9829/1.317, allocations: 139.3 MB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/1.317, allocations: 74.36 kB / 1.116 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006368/1.324, allocations: 2.106 MB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.276e-06/1.324, allocations: 0 / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.324, allocations: 0 / 1.118 GB, free: 43.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004962/1.324, allocations: 404.9 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.324, allocations: 8.031 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/1.325, allocations: 37.88 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.325, allocations: 11.12 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/1.325, allocations: 174.9 kB / 1.119 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.325, allocations: 7.266 kB / 1.119 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/1.325, allocations: 4 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.325, allocations: 60.81 kB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.325, allocations: 0 / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.325, allocations: 3.5 kB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.325, allocations: 0 / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/1.325, allocations: 18.58 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/1.326, allocations: 341.5 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.326, allocations: 52.42 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/1.326, allocations: 20.23 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/1.326, allocations: 0 / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/1.326, allocations: 85.38 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.326, allocations: 0 / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002048/1.326, allocations: 78.97 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/1.326, allocations: 62.78 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/1.326, allocations: 114.9 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.326, allocations: 28.08 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/1.326, allocations: 87.2 kB / 1.12 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.326, allocations: 22.72 kB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/1.326, allocations: 7.5 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/1.326, allocations: 313.9 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/1.327, allocations: 40.5 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/1.327, allocations: 80.2 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/1.327, allocations: 63.45 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.327, allocations: 0 / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002673/1.327, allocations: 187 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.327, allocations: 36.2 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.327, allocations: 4 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.327, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.327, allocations: 15.84 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.327, allocations: 0.9375 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/1.327, allocations: 50.95 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.328, allocations: 14.61 kB / 1.12 GB, free: 40.86 MB / 0.7448 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 () * 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 7.811e-05/1.328, allocations: 119.8 kB / 1.12 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/1.328, allocations: 7.906 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/1.328, allocations: 7.891 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.328, allocations: 8 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.328, allocations: 3.938 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.328, allocations: 4.234 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/1.328, allocations: 348.2 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.328, allocations: 0.5625 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/1.328, allocations: 15.27 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.328, allocations: 4.703 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.328, allocations: 5 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.328, allocations: 0 / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.328, allocations: 7.281 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/1.328, allocations: 188.6 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/1.328, allocations: 81.02 kB / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/1.328, allocations: 0 / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/1.328, allocations: 11.47 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/1.328, allocations: 14.91 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/1.328, allocations: 5.25 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.855e-05/1.329, allocations: 91.09 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.329, allocations: 0 / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002353/1.329, allocations: 31.44 kB / 1.121 GB, free: 39.95 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * 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.000415/1.329, allocations: 0.7308 MB / 1.122 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002427/1.329, allocations: 151.5 kB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.329, allocations: 0 / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/1.33, allocations: 26.56 kB / 1.122 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.33, allocations: 16.84 kB / 1.122 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/1.33, allocations: 146.1 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.33, allocations: 0.6914 MB / 1.123 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.33, allocations: 7.281 kB / 1.123 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/1.33, allocations: 17.88 kB / 1.123 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.33, allocations: 0 / 1.123 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/1.345, allocations: 2.209 MB / 1.125 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.345, allocations: 170.2 kB / 1.125 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.943, allocations: 0 / 1.125 GB, free: 36.78 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)