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.943/1.943, allocations: 289.9 MB / 297.4 MB, free: 6.457 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.001073/0.001073, allocations: 184.8 kB / 366.7 MB, free: 1.707 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.904/1.904, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009286/0.0009286, allocations: 88.31 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.468e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7361, allocations: 116.3 MB / 0.9734 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.9438, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.9441, allocations: 71.95 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006698/0.9508, allocations: 2.076 MB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9509, allocations: 3.938 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.9509, allocations: 0 / 1.111 GB, free: 9.395 MB / 0.7136 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.0005523/0.9514, allocations: 401.7 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9515, allocations: 13.34 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.9516, allocations: 7.906 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.9517, allocations: 175 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.9518, allocations: 1.062 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.9518, allocations: 9.188 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.595e-05/0.9519, allocations: 12 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.952, allocations: 57.61 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.952, allocations: 1.031 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.952, allocations: 3.984 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.952, allocations: 0.6562 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.9526, allocations: 307.4 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.9527, allocations: 39.2 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.9528, allocations: 21.7 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.9528, allocations: 8.719 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.9529, allocations: 82.03 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.953, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002273/0.9532, allocations: 83.19 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.9532, allocations: 55.41 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9534, allocations: 107.3 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.9534, allocations: 37.7 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.9535, allocations: 88.14 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.9535, allocations: 15.8 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9535, allocations: 0 / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9537, allocations: 322.8 kB / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.9538, allocations: 39.98 kB / 1.113 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.9539, allocations: 66.11 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.9541, allocations: 47.95 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9541, allocations: 0 / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003752/0.9545, allocations: 145.5 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.9546, allocations: 37.7 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9546, allocations: 128 / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9546, allocations: 11.98 kB / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.9547, allocations: 11.94 kB / 1.113 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.9547, allocations: 6.531 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.955, allocations: 47.95 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.955, allocations: 4 kB / 1.113 GB, free: 6.973 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.0001172/0.9551, allocations: 126.1 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001345/0.9552, allocations: 86.77 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.9553, allocations: 7.906 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.9553, allocations: 4.625 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9553, allocations: 0 / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9553, allocations: 0 / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.9553, allocations: 11.98 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.9557, allocations: 315.1 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9557, allocations: 7.938 kB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.9558, allocations: 11.94 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.9558, allocations: 3.984 kB / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.9558, allocations: 0 / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9558, allocations: 0 / 1.114 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9558, allocations: 4 kB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.956, allocations: 182.6 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.956, allocations: 81.09 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.9561, allocations: 4 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.9562, allocations: 7.984 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.9562, allocations: 4 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.9562, allocations: 0 / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.9563, allocations: 95.27 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9563, allocations: 0 / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002612/0.9566, allocations: 32 kB / 1.114 GB, free: 5.922 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.0005372/0.9571, allocations: 0.7201 MB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.9574, allocations: 150 kB / 1.115 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9574, allocations: 0 / 1.115 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.9574, allocations: 31.98 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.9576, allocations: 4 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.9581, allocations: 148.6 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.9584, allocations: 0.6887 MB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.9584, allocations: 8 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.9585, allocations: 19.42 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9585, allocations: 0 / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.982, allocations: 1.821 MB / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9822, allocations: 138.7 kB / 1.118 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.612, allocations: 2.5 kB / 1.118 GB, free: 2.113 MB / 0.7136 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)