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.435/1.435, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 191.9 kB / 326.5 MB, free: 2.238 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.762/1.762, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0008575/0.0008578, allocations: 95.72 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 14.77 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 106.4 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.4741, allocations: 131.6 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4745, allocations: 71.95 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002104/0.4766, allocations: 0.7316 MB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4766, allocations: 0 / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4766, allocations: 4 kB / 1.029 GB, free: 11.23 MB / 0.6823 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.0005213/0.4772, allocations: 367.1 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4772, allocations: 8.031 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.4773, allocations: 42.55 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.4773, allocations: 4 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4775, allocations: 163 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4775, allocations: 11.98 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.4775, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.4777, allocations: 61.67 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4778, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4778, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4778, allocations: 7.938 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.478, allocations: 43.97 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.4784, allocations: 268.8 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4786, allocations: 54.55 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.4786, allocations: 0 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.4788, allocations: 75.42 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.4789, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003716/0.4792, allocations: 113.6 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4793, allocations: 55.41 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.4794, allocations: 104.9 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4794, allocations: 25.7 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.4795, allocations: 88.12 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4795, allocations: 15.75 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.4795, allocations: 4 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4796, allocations: 310.8 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.4797, allocations: 35.91 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4798, allocations: 42.56 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.4799, allocations: 27.98 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4799, allocations: 0 / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002199/0.4802, allocations: 93.59 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4802, allocations: 8.094 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4802, allocations: 3.984 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4802, allocations: 0 / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.4803, allocations: 12 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4803, allocations: 3.938 kB / 1.031 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.4804, allocations: 11.98 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4804, allocations: 7.953 kB / 1.031 GB, free: 8.969 MB / 0.6823 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 () * Number of clocked 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 9.127e-05/0.4805, allocations: 119.7 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.4805, allocations: 3.906 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.4806, allocations: 15.89 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4806, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4806, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4806, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.481, allocations: 342.7 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.481, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.4811, allocations: 12.03 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4811, allocations: 7.922 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4811, allocations: 8 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4811, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4811, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4814, allocations: 184.1 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.4814, allocations: 85.14 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.4815, allocations: 11.98 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.4816, allocations: 8 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4816, allocations: 7.984 kB / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.4816, allocations: 0 / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.4817, allocations: 91.23 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 3.938 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000204/0.4819, allocations: 4 kB / 1.032 GB, free: 7.98 MB / 0.6823 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 () * Number of clocked 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.0005812/0.4825, allocations: 0.7202 MB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4827, allocations: 67.89 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4828, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.4829, allocations: 31.97 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.483, allocations: 9.5 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.4835, allocations: 166.2 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4837, allocations: 0.6809 MB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.4838, allocations: 4 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.4838, allocations: 15.42 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.4838, allocations: 0 / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.4965, allocations: 1.238 MB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.4967, allocations: 207.3 kB / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.198, allocations: 2.672 kB / 1.035 GB, free: 4.898 MB / 0.6823 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)