Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.133 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.002103/0.002103, allocations: 180.5 kB / 377.1 MB, free: 1.5 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.74/1.74, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.0009256/0.0009256, allocations: 91.17 kB / 0.7509 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003565, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8097/1.092, allocations: 139.3 MB / 1.125 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.092, allocations: 72.41 kB / 1.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005786/1.098, allocations: 2.101 MB / 1.127 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.705e-06/1.098, allocations: 0 / 1.127 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.098, allocations: 0 / 1.127 GB, free: 33.74 MB / 0.7292 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.000544/1.098, allocations: 411.8 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.099, allocations: 12.02 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/1.099, allocations: 34.56 kB / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/1.099, allocations: 9.969 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.099, allocations: 183.4 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.099, allocations: 8 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/1.099, allocations: 8.562 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.099, allocations: 67.73 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.099, allocations: 3.938 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.099, allocations: 3.234 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.099, allocations: 0 / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/1.099, allocations: 54.69 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/1.1, allocations: 330.8 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/1.1, allocations: 67.64 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/1.1, allocations: 4 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/1.1, allocations: 96.47 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/1.1, allocations: 0 / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004532/1.101, allocations: 158.7 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.101, allocations: 51.41 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/1.101, allocations: 108.4 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.101, allocations: 29.7 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/1.101, allocations: 95.41 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/1.101, allocations: 19.8 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.101, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/1.101, allocations: 326.1 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.101, allocations: 58.78 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.101, allocations: 94.55 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/1.102, allocations: 85.45 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.102, allocations: 0 / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003931/1.102, allocations: 215.8 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/1.102, allocations: 41.17 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.102, allocations: 1.062 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.102, allocations: 4.516 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/1.102, allocations: 15.55 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.102, allocations: 7.938 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/1.102, allocations: 50.84 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/1.102, allocations: 12.25 kB / 1.129 GB, free: 31.09 MB / 0.7292 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 8.866e-05/1.103, allocations: 122.4 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/1.103, allocations: 11.91 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/1.103, allocations: 10.34 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.103, allocations: 0 / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.103, allocations: 4.5 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.103, allocations: 3.422 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/1.103, allocations: 383.1 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.103, allocations: 0 / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/1.103, allocations: 12.16 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.103, allocations: 0 / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.103, allocations: 7.516 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.103, allocations: 0 / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.103, allocations: 0.5625 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/1.103, allocations: 231.3 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/1.104, allocations: 77.11 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.104, allocations: 3.656 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/1.104, allocations: 12 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/1.104, allocations: 12.02 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/1.104, allocations: 0 / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.396e-05/1.104, allocations: 92.2 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 0 / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002557/1.104, allocations: 35.56 kB / 1.13 GB, free: 30.06 MB / 0.7292 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.000486/1.104, allocations: 0.7699 MB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003489/1.105, allocations: 187.6 kB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.105, allocations: 0.5625 kB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.105, allocations: 42.92 kB / 1.131 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/1.105, allocations: 18.56 kB / 1.131 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/1.106, allocations: 1.003 MB / 1.132 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/1.106, allocations: 0.6877 MB / 1.133 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.321e-05/1.106, allocations: 11.52 kB / 1.133 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/1.106, allocations: 19.44 kB / 1.133 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.106, allocations: 0 / 1.133 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/1.12, allocations: 2.17 MB / 1.135 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.12, allocations: 175.7 kB / 1.135 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.724, allocations: 0 / 1.135 GB, free: 25.89 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)