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.668/1.668, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001112/0.001113, allocations: 182.8 kB / 371.6 MB, free: 3.359 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.707/1.707, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009468/0.0009468, allocations: 91.33 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.328e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8464/1.144, allocations: 139.3 MB / 1.116 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.144, allocations: 73.09 kB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00553/1.15, allocations: 2.086 MB / 1.118 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/1.15, allocations: 0 / 1.118 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.15, allocations: 0 / 1.118 GB, free: 43.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004965/1.15, allocations: 405.7 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/1.15, allocations: 12.03 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/1.15, allocations: 33.89 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/1.151, allocations: 8.844 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.151, allocations: 172.4 kB / 1.119 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.151, allocations: 14.52 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/1.151, allocations: 8.562 kB / 1.119 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.151, allocations: 56.19 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.151, allocations: 0.5156 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.151, allocations: 0 / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/1.151, allocations: 0 / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/1.151, allocations: 19.12 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/1.152, allocations: 331.5 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.152, allocations: 52.52 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/1.152, allocations: 19.98 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.152, allocations: 4.703 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/1.152, allocations: 72.94 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 3.066e-06/1.152, allocations: 3.391 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002661/1.152, allocations: 94.41 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.152, allocations: 54.88 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/1.152, allocations: 108.2 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/1.152, allocations: 29.7 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/1.153, allocations: 93.98 kB / 1.12 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/1.153, allocations: 22.19 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.153, allocations: 0 / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/1.153, allocations: 322 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/1.153, allocations: 43.03 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.153, allocations: 73.56 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/1.153, allocations: 67.28 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.153, allocations: 0 / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000291/1.153, allocations: 183.2 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.153, allocations: 37.12 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.153, allocations: 0 / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.153, allocations: 4.688 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.153, allocations: 19.36 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.154, allocations: 0.6562 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/1.154, allocations: 49.62 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/1.154, allocations: 12 kB / 1.12 GB, free: 40.98 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 0.0001011/1.154, allocations: 116.8 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/1.154, allocations: 7.906 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/1.154, allocations: 11.44 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.154, allocations: 4 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/1.154, allocations: 12.53 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.154, allocations: 3.562 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/1.154, allocations: 344.2 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.154, allocations: 1.875 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/1.154, allocations: 11.47 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.154, allocations: 0 / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.154, allocations: 11.31 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.154, allocations: 5.594 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.154, allocations: 1.25 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/1.155, allocations: 184.3 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/1.155, allocations: 88.44 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.155, allocations: 3.625 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/1.155, allocations: 7.422 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/1.155, allocations: 11.42 kB / 1.121 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.155, allocations: 4.562 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.029e-05/1.155, allocations: 90.09 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.155, allocations: 0 / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000248/1.155, allocations: 35.42 kB / 1.121 GB, free: 40.07 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005192/1.156, allocations: 0.7215 MB / 1.122 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002602/1.156, allocations: 153 kB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.156, allocations: 0 / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/1.156, allocations: 32.05 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/1.156, allocations: 12.25 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/1.157, allocations: 142.9 kB / 1.122 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/1.157, allocations: 0.6948 MB / 1.123 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.704e-05/1.157, allocations: 4 kB / 1.123 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/1.157, allocations: 24.34 kB / 1.123 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.157, allocations: 0 / 1.123 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/1.171, allocations: 2.197 MB / 1.125 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/1.172, allocations: 152.8 kB / 1.125 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.753, allocations: 0 / 1.125 GB, free: 36.93 MB / 0.7448 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)