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.389/1.389, allocations: 252 MB / 267 MB, free: 10.98 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.001054/0.001054, allocations: 180.2 kB / 326.6 MB, free: 2.25 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.045/2.045, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007436/0.0007431, allocations: 80.16 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 10.72 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001301/0.2212, allocations: 1.109 MB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.2216, allocations: 192.3 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.2216, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.2216, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.2217, allocations: 11.94 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.2218, allocations: 7.984 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.2219, allocations: 39.84 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.222, allocations: 11.98 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.2221, allocations: 4 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.2221, allocations: 15.92 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2221, allocations: 0 / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.2221, allocations: 3.938 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2222, allocations: 7.938 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.2222, allocations: 29.7 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.225e-05/0.2222, allocations: 31.94 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2223, allocations: 3.938 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2223, allocations: 0 / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2223, allocations: 0 / 0.9018 GB, free: 62.32 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.0003769/0.2227, allocations: 347.5 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2227, allocations: 8.031 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.2227, allocations: 30.56 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2228, allocations: 8 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.175e-05/0.2228, allocations: 175 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2228, allocations: 4 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2229, allocations: 0 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.223, allocations: 61.61 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2231, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.2231, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2231, allocations: 3.984 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2232, allocations: 55.95 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.2236, allocations: 264.8 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.2237, allocations: 54.48 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.2238, allocations: 28.94 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2238, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.224, allocations: 79.38 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.224, allocations: 0 / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003721/0.2244, allocations: 117.6 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2244, allocations: 55.36 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.2245, allocations: 105.8 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2245, allocations: 29.7 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.2245, allocations: 88.05 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.2246, allocations: 11.83 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.2246, allocations: 8 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.2246, allocations: 314.8 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.2247, allocations: 23.98 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.2248, allocations: 42.55 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.2249, allocations: 27.98 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2249, allocations: 4 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.2251, allocations: 93.66 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2251, allocations: 6.188 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2251, allocations: 7.938 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.2252, allocations: 0 / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.2252, allocations: 15.92 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2253, allocations: 7.938 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.2253, allocations: 15.97 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2253, allocations: 4 kB / 0.9038 GB, free: 60.03 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 5.57e-05/0.2254, allocations: 109.8 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.2254, allocations: 7.906 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.2254, allocations: 7.906 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2254, allocations: 128 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2255, allocations: 8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2255, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.2258, allocations: 346.5 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2258, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.2258, allocations: 8 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2259, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2259, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2259, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2259, allocations: 7.938 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.2261, allocations: 191.7 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.2261, allocations: 81.14 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2262, allocations: 4 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.2262, allocations: 11.98 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.2263, allocations: 11.89 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2263, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.2263, allocations: 87.27 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2263, allocations: 0 / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001926/0.2265, allocations: 8 kB / 0.9046 GB, free: 59.05 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.0003932/0.2269, allocations: 0.7241 MB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2271, allocations: 63.89 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2271, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.2272, allocations: 32.17 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2275, allocations: 11.97 kB / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.2278, allocations: 163.9 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.507e-05/0.2279, allocations: 0.6809 MB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.228, allocations: 11.92 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.228, allocations: 22.12 kB / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.228, allocations: 0 / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.2394, allocations: 1.25 MB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.2396, allocations: 221.8 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.785, allocations: 5.141 kB / 0.9077 GB, free: 55.94 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)