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.412/1.412, allocations: 252 MB / 267.3 MB, free: 10.86 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.001225/0.001225, allocations: 170.2 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.578 GB, free: 20.42 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.0008196/0.00082, allocations: 92.64 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.000357, allocations: 8.906 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2819, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001919/0.2839, allocations: 1.129 MB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005217/0.2845, allocations: 184.3 kB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.2846, allocations: 0 / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.2846, allocations: 0 / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.2847, allocations: 7.938 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2849, allocations: 23.97 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.285, allocations: 39.8 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2852, allocations: 8 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.2853, allocations: 7.984 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.2853, allocations: 15.92 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2854, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.2854, allocations: 0 / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.2854, allocations: 3.938 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.2855, allocations: 37.64 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2856, allocations: 35.86 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2856, allocations: 4 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2856, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2857, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 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.0005183/0.2862, allocations: 347.7 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2862, allocations: 12.02 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.2863, allocations: 34.75 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.2863, allocations: 0.9375 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.2864, allocations: 180.2 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2864, allocations: 384 / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2865, allocations: 384 / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.2867, allocations: 62.17 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2867, allocations: 3.938 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2867, allocations: 7.938 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2867, allocations: 4 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2869, allocations: 47.95 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.2875, allocations: 264.9 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2877, allocations: 54.5 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.2878, allocations: 28.92 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.2878, allocations: 0 / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.2881, allocations: 75.39 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.2881, allocations: 0 / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004199/0.2885, allocations: 125.5 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.2886, allocations: 55.41 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.2887, allocations: 105.8 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2887, allocations: 25.7 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.2888, allocations: 84.14 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.2888, allocations: 19.83 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.2888, allocations: 0 / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.289, allocations: 318.8 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.2891, allocations: 27.97 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.2892, allocations: 42.75 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.2893, allocations: 74.47 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2894, allocations: 0 / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/0.2896, allocations: 101.5 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2896, allocations: 4 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2896, allocations: 4 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2897, allocations: 3.984 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2898, allocations: 20.2 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2898, allocations: 0 / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.2898, allocations: 12 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2899, allocations: 7.984 kB / 0.9045 GB, free: 59.85 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.29, allocations: 113.7 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.29, allocations: 4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.29, allocations: 7.906 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.29, allocations: 4 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.2901, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2901, allocations: 4 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.2905, allocations: 338.5 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2905, allocations: 7.938 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.2906, allocations: 19.92 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2906, allocations: 0 / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2906, allocations: 0 / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2906, allocations: 0 / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2906, allocations: 0 / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2909, allocations: 195.3 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.2909, allocations: 81.11 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.291, allocations: 4 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.291, allocations: 7.984 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.2911, allocations: 7.938 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2911, allocations: 0 / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.2912, allocations: 95.56 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2912, allocations: 0 / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002198/0.2914, allocations: 8 kB / 0.9053 GB, free: 58.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000578/0.292, allocations: 0.724 MB / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2923, allocations: 67.95 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2923, allocations: 0 / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.2924, allocations: 27.98 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2927, allocations: 7.938 kB / 0.9061 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.2932, allocations: 166.5 kB / 0.9063 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2933, allocations: 0.6848 MB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.2934, allocations: 7.906 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.2934, allocations: 15.42 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of SimCode: time 1.793e-06/0.2935, allocations: 0 / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.3061, allocations: 1.276 MB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.3063, allocations: 231.4 kB / 0.9084 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.024, allocations: 4 kB / 0.9084 GB, free: 55.73 MB / 0.6042 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)