Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.367/2.367, allocations: 284.9 MB / 292.4 MB, free: 10.46 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.001387/0.001387, allocations: 180.9 kB / 360.6 MB, free: 7.262 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.059/2.059, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001138/0.001138, allocations: 92.72 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.346e-05/4.37e-05, allocations: 8 kB / 0.8509 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8172, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/1.049, allocations: 137.1 MB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.05, allocations: 78.89 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01123/1.061, allocations: 2.481 MB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/1.061, allocations: 0.5938 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.061, allocations: 0.625 kB / 1.1 GB, free: 0.8359 MB / 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.0006075/1.062, allocations: 367.8 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.062, allocations: 8.531 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/1.062, allocations: 13.81 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.062, allocations: 171 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/1.062, allocations: 0.625 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/1.062, allocations: 4 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/1.062, allocations: 24.72 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.062, allocations: 50.38 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.062, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.062, allocations: 1 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.062, allocations: 4 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/1.063, allocations: 289.9 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.063, allocations: 45.7 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/1.063, allocations: 18.14 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/1.063, allocations: 7.938 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/1.063, allocations: 56.97 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.063, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002581/1.064, allocations: 78.22 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.064, allocations: 56.14 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.064, allocations: 111.9 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.064, allocations: 26.98 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/1.064, allocations: 96.03 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/1.064, allocations: 15.75 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/1.064, allocations: 0.875 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.064, allocations: 324.9 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/1.064, allocations: 20 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/1.064, allocations: 56.23 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/1.065, allocations: 44.64 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.065, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005538/1.066, allocations: 109.6 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.066, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.066, allocations: 5.406 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.066, allocations: 4 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/1.066, allocations: 28.14 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.066, allocations: 10.33 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.066, allocations: 11.91 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/1.066, allocations: 4 kB / 1.102 GB, free: 14.61 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.0001239/1.066, allocations: 121.4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001773/1.066, allocations: 69.69 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/1.066, allocations: 7.906 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/1.066, allocations: 8.625 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.066, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.066, allocations: 7.938 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.067, allocations: 3.953 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/1.067, allocations: 319 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.067, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.067, allocations: 12.73 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.067, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.067, allocations: 10.06 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.067, allocations: 3.953 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.067, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/1.067, allocations: 171.4 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/1.067, allocations: 77.11 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.067, allocations: 3.938 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/1.068, allocations: 12.55 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.068, allocations: 13.08 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/1.068, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.452e-05/1.068, allocations: 91.27 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.068, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003815/1.068, allocations: 23.94 kB / 1.103 GB, free: 13.57 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.000666/1.069, allocations: 0.7171 MB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002078/1.069, allocations: 47.92 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.069, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/1.069, allocations: 19.94 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.07, allocations: 11.95 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/1.07, allocations: 142 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.07, allocations: 0.6924 MB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.837e-05/1.071, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/1.071, allocations: 23.42 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.071, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/1.114, allocations: 1.455 MB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/1.114, allocations: 162.6 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.404, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)