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.Edge.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.Edge,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 180.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008119/0.000812, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.376e-05, allocations: 8 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8118/1.046, allocations: 131.8 MB / 1.021 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.047, allocations: 76.2 kB / 1.021 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002781/1.05, allocations: 0.9545 MB / 1.022 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.956e-06/1.05, allocations: 3.938 kB / 1.022 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.05, allocations: 4 kB / 1.022 GB, free: 2.051 MB / 0.6355 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.0005394/1.05, allocations: 366 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.05, allocations: 8.031 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/1.05, allocations: 34.56 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/1.05, allocations: 7.906 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.05, allocations: 174.9 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.05, allocations: 11.23 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/1.051, allocations: 4 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.051, allocations: 52.73 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.051, allocations: 0 / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.051, allocations: 3.625 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.051, allocations: 3.938 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/1.051, allocations: 23 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/1.051, allocations: 305.4 kB / 1.023 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/1.052, allocations: 105.8 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/1.052, allocations: 22.77 kB / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.052, allocations: 0 / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/1.052, allocations: 69.89 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/1.052, allocations: 2.734 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002413/1.052, allocations: 79.73 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.052, allocations: 59.09 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.053, allocations: 113 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.053, allocations: 29.45 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/1.053, allocations: 87.14 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/1.053, allocations: 15.3 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/1.053, allocations: 4 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.053, allocations: 318.7 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/1.053, allocations: 15.12 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/1.053, allocations: 42.19 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/1.053, allocations: 19.42 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.053, allocations: 0 / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000166/1.053, allocations: 92.95 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.053, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.053, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.053, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/1.053, allocations: 15.98 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.053, allocations: 4.656 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/1.053, allocations: 26.08 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.054, allocations: 4 kB / 1.024 GB, free: 15.87 MB / 0.6511 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,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete 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 9.739e-05/1.054, allocations: 116.8 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/1.054, allocations: 7.906 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/1.054, allocations: 8.125 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.054, allocations: 3.828 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.054, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.054, allocations: 7.953 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/1.054, allocations: 335.4 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.054, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/1.054, allocations: 15.92 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.054, allocations: 0.5625 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/1.054, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.054, allocations: 4.031 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.054, allocations: 7.984 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/1.054, allocations: 177.1 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/1.054, allocations: 85.02 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/1.054, allocations: 3.938 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/1.055, allocations: 19.42 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.055, allocations: 11.94 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.055, allocations: 7.984 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.566e-05/1.055, allocations: 94.64 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.055, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002144/1.055, allocations: 15.5 kB / 1.024 GB, free: 14.92 MB / 0.6511 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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.0005481/1.055, allocations: 0.7053 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001429/1.056, allocations: 50.44 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.056, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/1.056, allocations: 22.88 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/1.056, allocations: 11.94 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/1.056, allocations: 140.6 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/1.057, allocations: 0.6967 MB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.679e-05/1.057, allocations: 3.859 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/1.057, allocations: 22.05 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/1.057, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/1.072, allocations: 1.64 MB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/1.073, allocations: 158.2 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.546, allocations: 4 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)