Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.892/2.892, 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.002291/0.002291, allocations: 187.8 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.047/3.047, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001209/0.00121, allocations: 89.45 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.255e-05/4.274e-05, allocations: 4 kB / 0.8519 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239/1.239, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/1.592, allocations: 137.3 MB / 1.099 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/1.592, allocations: 72.55 kB / 1.099 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/1.603, allocations: 2.473 MB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of FrontEnd: time 4.598e-06/1.603, allocations: 1.156 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.603, allocations: 0 / 1.101 GB, free: 8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006785/1.604, allocations: 372.1 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/1.604, allocations: 8.031 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/1.604, allocations: 9.531 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.604, allocations: 171 kB / 1.102 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.604, allocations: 0.625 kB / 1.102 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/1.604, allocations: 8 kB / 1.102 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/1.605, allocations: 24.28 kB / 1.102 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/1.605, allocations: 51.09 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.605, allocations: 0 / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/1.605, allocations: 4.734 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.605, allocations: 4 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/1.606, allocations: 291.5 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.606, allocations: 35.2 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/1.606, allocations: 21.45 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/1.606, allocations: 4.75 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/1.606, allocations: 64.73 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/1.606, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003401/1.606, allocations: 78.12 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/1.607, allocations: 51.97 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/1.607, allocations: 109.7 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.607, allocations: 27.17 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/1.607, allocations: 92.58 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/1.607, allocations: 23.73 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.607, allocations: 0.7188 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.607, allocations: 323.3 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/1.607, allocations: 16.88 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/1.607, allocations: 59.91 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/1.608, allocations: 47.84 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.608, allocations: 0 / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004677/1.608, allocations: 110.6 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.608, allocations: 9.594 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.608, allocations: 2 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.608, allocations: 7.984 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.609, allocations: 19.92 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.609, allocations: 4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/1.609, allocations: 20.11 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.609, allocations: 4 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001439/1.609, allocations: 117.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001567/1.609, allocations: 68.89 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/1.609, allocations: 7.906 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/1.609, allocations: 8.625 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.609, allocations: 7.938 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.609, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.609, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/1.61, allocations: 330.9 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.61, allocations: 0 / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/1.61, allocations: 11.5 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.61, allocations: 3 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.61, allocations: 7.984 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.61, allocations: 0 / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.61, allocations: 3.953 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/1.61, allocations: 171.5 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/1.61, allocations: 81.11 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/1.61, allocations: 3.938 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.611, allocations: 15.97 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/1.611, allocations: 7.984 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.611, allocations: 3.953 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001088/1.611, allocations: 93.36 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.611, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004486/1.611, allocations: 23.94 kB / 1.104 GB, free: 12.75 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0008835/1.612, allocations: 0.7122 MB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002236/1.612, allocations: 52.3 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.612, allocations: 4.062 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/1.612, allocations: 19.94 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/1.613, allocations: 16.73 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/1.614, allocations: 132.5 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.614, allocations: 0.6924 MB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.846e-05/1.614, allocations: 11.98 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/1.614, allocations: 19.44 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/1.614, allocations: 0 / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07892/1.693, allocations: 1.444 MB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004123/1.694, allocations: 170.4 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/4.609, allocations: 0 / 1.107 GB, free: 9.426 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)