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 2.7/2.7, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.0008936/0.0008936, allocations: 180.9 kB / 361.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.001206/0.001206, allocations: 95.72 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.387e-05, allocations: 8 kB / 0.8518 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9561/0.9562, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/1.282, allocations: 137.6 MB / 1.099 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/1.283, allocations: 70.05 kB / 1.099 GB, free: 2.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0122/1.295, allocations: 2.081 MB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/1.295, allocations: 0 / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.295, allocations: 0.6875 kB / 1.101 GB, free: 72 kB / 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.0007524/1.296, allocations: 409.2 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.296, allocations: 8.031 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/1.296, allocations: 7.906 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.296, allocations: 180.1 kB / 1.102 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.296, allocations: 4.5 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/1.296, allocations: 10.77 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/1.296, allocations: 20 kB / 1.102 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.296, allocations: 41.69 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.296, allocations: 1.031 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.296, allocations: 3.812 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.297, allocations: 4 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/1.297, allocations: 307.3 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/1.297, allocations: 44.08 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/1.298, allocations: 24.92 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.298, allocations: 4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.298, allocations: 71.45 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/1.298, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003433/1.298, allocations: 89.52 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.298, allocations: 51.41 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.298, allocations: 116.9 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/1.298, allocations: 26.64 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/1.299, allocations: 88.14 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/1.299, allocations: 15.81 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/1.299, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.299, allocations: 322.8 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.299, allocations: 32 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.299, allocations: 72.28 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/1.3, allocations: 39.97 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.3, allocations: 3.984 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006468/1.3, allocations: 158.3 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/1.3, allocations: 35.58 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/1.3, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.3, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/1.301, allocations: 15.98 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.301, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/1.301, allocations: 47.95 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.301, allocations: 12 kB / 1.103 GB, free: 13.64 MB / 0.7136 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.000148/1.301, allocations: 119.5 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002205/1.301, allocations: 83.38 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/1.302, allocations: 7.906 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/1.302, allocations: 8.625 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.302, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.302, allocations: 4 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.302, allocations: 0.5156 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/1.302, allocations: 323 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.302, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.302, allocations: 11.98 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/1.302, allocations: 0 / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.302, allocations: 0 / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.302, allocations: 10.62 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.302, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/1.303, allocations: 185.4 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/1.303, allocations: 81.11 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.303, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.303, allocations: 9.609 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.303, allocations: 7.984 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.303, allocations: 12 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.985e-05/1.303, allocations: 91.27 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.22e-07/1.303, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005542/1.304, allocations: 20 kB / 1.104 GB, free: 12.59 MB / 0.7136 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.0007421/1.305, allocations: 0.7373 MB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004157/1.305, allocations: 135.4 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.305, allocations: 3.938 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/1.305, allocations: 24 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/1.306, allocations: 13.19 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/1.306, allocations: 139.5 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/1.307, allocations: 0.6973 MB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.741e-05/1.307, allocations: 7.984 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/1.307, allocations: 19.44 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.307, allocations: 0 / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.455/2.762, allocations: 1.827 MB / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004101/2.762, allocations: 147.6 kB / 1.108 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/6.335, allocations: 1.094 kB / 1.108 GB, free: 8.781 MB / 0.7136 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)