Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 109.2 kB / 15.99 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 222.8 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.48 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2473, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002159/0.2495, allocations: 0.8126 MB / 0.7843 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2508, allocations: 1.072 MB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.2509, allocations: 4 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.2509, allocations: 3.984 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.251, allocations: 7.875 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.2514, allocations: 43.22 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2515, allocations: 75.77 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2516, allocations: 24.16 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.2517, allocations: 31.86 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.2517, allocations: 35.84 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2518, allocations: 4 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.2518, allocations: 15.98 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.2519, allocations: 19.97 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.2519, allocations: 31.8 kB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.252, allocations: 56.17 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.252, allocations: 0 / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2521, allocations: 4 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2521, allocations: 0 / 0.7857 GB, free: 11.62 MB / 0.6075 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.0005698/0.2526, allocations: 379.2 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2527, allocations: 12.03 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.2527, allocations: 4.844 kB / 0.7861 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2529, allocations: 176.2 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2529, allocations: 8.375 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2529, allocations: 4.375 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.2531, allocations: 66.22 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2532, allocations: 3.938 kB / 0.7864 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2532, allocations: 15.94 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2532, allocations: 0 / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.2534, allocations: 39.95 kB / 0.7864 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.254, allocations: 324.6 kB / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2542, allocations: 58.55 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2543, allocations: 32.95 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2544, allocations: 0 / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.2546, allocations: 87.38 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.2546, allocations: 4 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004002/0.255, allocations: 129.5 kB / 0.787 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.2551, allocations: 55.41 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2552, allocations: 113.8 kB / 0.7872 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2552, allocations: 33.7 kB / 0.7872 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.2553, allocations: 88.12 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2553, allocations: 19.75 kB / 0.7873 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2554, allocations: 29.7 kB / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2555, allocations: 326.8 kB / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.2556, allocations: 31.92 kB / 0.7877 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2557, allocations: 73.97 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.256, allocations: 109.9 kB / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.256, allocations: 0 / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000285/0.2563, allocations: 133.4 kB / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2563, allocations: 7.984 kB / 0.788 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2563, allocations: 0 / 0.788 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2563, allocations: 4.219 kB / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2565, allocations: 19.98 kB / 0.788 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2565, allocations: 4 kB / 0.788 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.2566, allocations: 15.89 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2566, allocations: 4 kB / 0.788 GB, free: 8.992 MB / 0.6075 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.2567, allocations: 125.7 kB / 0.7882 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.2567, allocations: 0 / 0.7882 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.2568, allocations: 12.38 kB / 0.7882 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2568, allocations: 4 kB / 0.7882 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2568, allocations: 0 / 0.7882 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2568, allocations: 3.984 kB / 0.7882 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.2573, allocations: 378.2 kB / 0.7885 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2573, allocations: 0 / 0.7885 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.2573, allocations: 11.97 kB / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2574, allocations: 0 / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2574, allocations: 12 kB / 0.7886 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2574, allocations: 3.938 kB / 0.7886 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2574, allocations: 3.938 kB / 0.7886 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2577, allocations: 203.3 kB / 0.7888 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.2577, allocations: 81.11 kB / 0.7888 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2578, allocations: 4 kB / 0.7888 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.2579, allocations: 15.92 kB / 0.7889 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2579, allocations: 7.984 kB / 0.7889 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2579, allocations: 4 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.258, allocations: 91.92 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.258, allocations: 0 / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002537/0.2582, allocations: 23.91 kB / 0.789 GB, free: 7.926 MB / 0.6075 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 () * Number of clocked 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 (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.0001785/0.2584, allocations: 103.2 kB / 0.7891 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.2587, allocations: 79.88 kB / 0.7892 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2587, allocations: 0 / 0.7892 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2588, allocations: 39.91 kB / 0.7892 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2591, allocations: 8.328 kB / 0.7892 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.2596, allocations: 207.2 kB / 0.7894 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2599, allocations: 0.6924 MB / 0.7901 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2599, allocations: 11.44 kB / 0.7901 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2599, allocations: 0 / 0.7901 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.002713/0.2626, allocations: 1.047 MB / 0.7911 GB, free: 5.684 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)