Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 249.5 MB / 257 MB, free: 6.895 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.001017/0.001017, allocations: 172.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008533/0.0008533, allocations: 86.42 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.283e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7305/0.9597, allocations: 131.8 MB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.96, allocations: 75.52 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001955/0.962, allocations: 0.7272 MB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/0.962, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.962, allocations: 4 kB / 1.015 GB, free: 4.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000405/0.9624, allocations: 339.4 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.9625, allocations: 12.03 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.9625, allocations: 3.906 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.9626, allocations: 178.9 kB / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.9627, allocations: 0 / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.9627, allocations: 5.031 kB / 1.015 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.849e-05/0.9627, allocations: 12.88 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.9628, allocations: 45.25 kB / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9628, allocations: 0 / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9629, allocations: 4 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9629, allocations: 0 / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.9632, allocations: 236.8 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.9633, allocations: 33.89 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.9634, allocations: 12.67 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.9634, allocations: 8 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.4e-05/0.9635, allocations: 52.31 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.9635, allocations: 6.672 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001443/0.9636, allocations: 57.34 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.9637, allocations: 51.41 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.9638, allocations: 100.8 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.9638, allocations: 25.7 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.9639, allocations: 92 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.9639, allocations: 7.906 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.9639, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.964, allocations: 318.7 kB / 1.016 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.964, allocations: 4 kB / 1.016 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.9641, allocations: 26.2 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.9641, allocations: 15.86 kB / 1.016 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9641, allocations: 0 / 1.016 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.282e-05/0.9642, allocations: 57.48 kB / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.9642, allocations: 4 kB / 1.016 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9642, allocations: 3.984 kB / 1.016 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9643, allocations: 4 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.9644, allocations: 11.94 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9644, allocations: 4.094 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.9644, allocations: 15.92 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.9645, allocations: 0.7031 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.663e-05/0.9645, allocations: 112.9 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.093e-05/0.9646, allocations: 53.38 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.9646, allocations: 7.906 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.9647, allocations: 8.281 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9647, allocations: 0 / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9647, allocations: 7.984 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.9647, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.9649, allocations: 286.4 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9649, allocations: 48 / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.965, allocations: 15.97 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.965, allocations: 0 / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.965, allocations: 0 / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.965, allocations: 0 / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.965, allocations: 4 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.9651, allocations: 153.8 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.9652, allocations: 84.95 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.9652, allocations: 3.984 kB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.9653, allocations: 11.94 kB / 1.017 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.9653, allocations: 7.859 kB / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.9654, allocations: 4 kB / 1.017 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.9654, allocations: 87.55 kB / 1.017 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9654, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002026/0.9656, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003857/0.966, allocations: 0.6884 MB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.921e-05/0.9661, allocations: 27.81 kB / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.9661, allocations: 3.938 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.9661, allocations: 11.94 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.9663, allocations: 10.8 kB / 1.018 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.9667, allocations: 106.9 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.9669, allocations: 0.6846 MB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.9669, allocations: 8.188 kB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.967, allocations: 14.94 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.967, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.9857, allocations: 0.9364 MB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.9859, allocations: 167.7 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/2.393, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)