Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001145/0.001145, allocations: 183.3 kB / 371.8 MB, free: 10.27 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.959/1.959, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.000943/0.000943, allocations: 97.08 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004505, allocations: 13.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9156/1.188, allocations: 138.4 MB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.188, allocations: 70.69 kB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006289/1.194, allocations: 2.1 MB / 1.117 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/1.194, allocations: 0 / 1.117 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.194, allocations: 3.781 kB / 1.117 GB, free: 31.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004947/1.195, allocations: 408.5 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.195, allocations: 15.64 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/1.195, allocations: 30.56 kB / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/1.195, allocations: 11.59 kB / 1.117 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.195, allocations: 180.3 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.195, allocations: 2.75 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/1.195, allocations: 15.58 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/1.195, allocations: 74.83 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.195, allocations: 0 / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.195, allocations: 7.094 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.196, allocations: 3.844 kB / 1.117 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/1.196, allocations: 47.34 kB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/1.196, allocations: 330.6 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/1.196, allocations: 65.45 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.196, allocations: 3.875 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/1.197, allocations: 88.16 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/1.197, allocations: 0 / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004321/1.197, allocations: 164.1 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.197, allocations: 58.75 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/1.197, allocations: 102.6 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.197, allocations: 39.17 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/1.197, allocations: 93.33 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/1.197, allocations: 17.27 kB / 1.118 GB, free: 30.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/1.197, allocations: 7.875 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.197, allocations: 323.7 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.198, allocations: 54.33 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.198, allocations: 94.22 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.198, allocations: 86 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.198, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004119/1.198, allocations: 217.2 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.198, allocations: 36.14 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.198, allocations: 0 / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.198, allocations: 0 / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/1.199, allocations: 28.88 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/1.199, allocations: 3.969 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/1.199, allocations: 48.31 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.199, allocations: 14.06 kB / 1.119 GB, free: 30.08 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 9.665e-05/1.199, allocations: 123.8 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/1.199, allocations: 7.75 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/1.199, allocations: 14.23 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.199, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.199, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.199, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/1.199, allocations: 386.7 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.199, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/1.199, allocations: 14.12 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.2, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/1.2, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.2, allocations: 6.906 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.2, allocations: 3.938 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/1.2, allocations: 220.4 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/1.2, allocations: 81.11 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.2, allocations: 7.531 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/1.2, allocations: 8.953 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/1.2, allocations: 6.328 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.2, allocations: 3.875 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.231e-05/1.2, allocations: 93.25 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.2, allocations: 0 / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002602/1.2, allocations: 26.97 kB / 1.12 GB, free: 29.33 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006455/1.201, allocations: 0.7706 MB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003536/1.201, allocations: 189.7 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.201, allocations: 3.938 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/1.202, allocations: 51.95 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/1.202, allocations: 10.66 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/1.203, allocations: 0.9996 MB / 1.122 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.203, allocations: 0.6932 MB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.404e-05/1.203, allocations: 6.75 kB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/1.203, allocations: 21.34 kB / 1.123 GB, free: 26.88 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.203, allocations: 0 / 1.123 GB, free: 26.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.216, allocations: 2.179 MB / 1.125 GB, free: 26.65 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.216, allocations: 193.3 kB / 1.125 GB, free: 26.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.802, allocations: 3.938 kB / 1.125 GB, free: 26.41 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)