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.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11 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.001103/0.001103, allocations: 173.7 kB / 326.5 MB, free: 2.215 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.129/2.129, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001363/0.001364, allocations: 107 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 13.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2811, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001888/0.283, allocations: 1.116 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.2836, allocations: 177.7 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.2837, allocations: 3.938 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.2838, allocations: 3.984 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2839, allocations: 11.92 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2842, allocations: 11.94 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2843, allocations: 23.91 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2845, allocations: 11.98 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2846, allocations: 8 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.2847, allocations: 15.92 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2847, allocations: 0 / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.2848, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.2848, allocations: 7.922 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.2849, allocations: 33.7 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.285, allocations: 19.94 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.285, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.248e-06/0.285, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.285, allocations: 0 / 0.9016 GB, free: 62.33 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.0006918/0.2857, allocations: 351.5 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/0.2858, allocations: 8.031 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.2859, allocations: 34.56 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.2859, allocations: 4 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2861, allocations: 171 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2861, allocations: 0 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2862, allocations: 4 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2864, allocations: 61.61 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2864, allocations: 0 / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2865, allocations: 8 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2865, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2867, allocations: 47.95 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.2872, allocations: 264.8 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2874, allocations: 58.48 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2874, allocations: 4 kB / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.2877, allocations: 71.42 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 3.546e-06/0.2877, allocations: 3.984 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004246/0.2881, allocations: 121.6 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2882, allocations: 51.41 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.2883, allocations: 113.8 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2883, allocations: 29.7 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.2883, allocations: 84.86 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2884, allocations: 23.83 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.2884, allocations: 0 / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.2885, allocations: 314.8 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.2886, allocations: 23.98 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2887, allocations: 50.55 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.201e-05/0.2888, allocations: 27.98 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2888, allocations: 3.938 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000216/0.289, allocations: 93.59 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.289, allocations: 8 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.289, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2891, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.2892, allocations: 15.92 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2892, allocations: 8.094 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.2893, allocations: 15.94 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2893, allocations: 4 kB / 0.9036 GB, free: 60.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.2894, allocations: 109.8 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.2894, allocations: 3.906 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2895, allocations: 7.906 kB / 0.9037 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2895, allocations: 4 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2895, allocations: 0 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2895, allocations: 4 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.29, allocations: 338.5 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.29, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.29, allocations: 19.98 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.2901, allocations: 0 / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2901, allocations: 0 / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2901, allocations: 0 / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2901, allocations: 7.953 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.2904, allocations: 191.3 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2904, allocations: 81.11 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2904, allocations: 4 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.2905, allocations: 7.984 kB / 0.9043 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.2906, allocations: 7.938 kB / 0.9043 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2906, allocations: 3.953 kB / 0.9043 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.2907, allocations: 87.27 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2907, allocations: 4 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002228/0.2909, allocations: 8 kB / 0.9044 GB, free: 59.07 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 (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.0005619/0.2915, allocations: 0.7231 MB / 0.9051 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2917, allocations: 63.89 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2917, allocations: 192 / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.2918, allocations: 32.31 kB / 0.9052 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.292, allocations: 13.77 kB / 0.9052 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.2926, allocations: 162.3 kB / 0.9054 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.2927, allocations: 0.6887 MB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.2928, allocations: 4.094 kB / 0.9061 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.2928, allocations: 11.44 kB / 0.9061 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2929, allocations: 3.938 kB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.3067, allocations: 1.25 MB / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.307, allocations: 213.7 kB / 0.9075 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.898, allocations: 4 kB / 0.9075 GB, free: 55.98 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)