Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 173.6 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.18/3.18, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.146e-05, allocations: 5.516 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00216/0.002191, allocations: 0.7331 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.003806, allocations: 1.096 MB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.003862, allocations: 3.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.003894, allocations: 3.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.00396, allocations: 11.86 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.004279, allocations: 59.77 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.004413, allocations: 79.64 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004517, allocations: 12.17 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004619, allocations: 43.91 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.004678, allocations: 23.95 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.004702, allocations: 8 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.004771, allocations: 15.98 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.004802, allocations: 19.91 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.004842, allocations: 15.94 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.005027, allocations: 87.72 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00503, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.005031, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.005038, allocations: 7.938 kB / 1.003 GB, free: 10.76 MB / 0.9636 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.0005977/0.005635, allocations: 298.1 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.00568, allocations: 13.34 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.00572, allocations: 4.891 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.005861, allocations: 125.6 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005875, allocations: 384 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.005892, allocations: 4.375 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.006115, allocations: 74.22 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.006135, allocations: 192 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006146, allocations: 384 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.006156, allocations: 8.125 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.006344, allocations: 43.95 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.006948, allocations: 248.4 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.007137, allocations: 54.55 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.007246, allocations: 28.97 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.007269, allocations: 7.938 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.007463, allocations: 83.39 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.007464, allocations: 0 / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.007915, allocations: 133.8 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.007968, allocations: 55.41 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.008107, allocations: 121.8 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.008132, allocations: 25.7 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.008207, allocations: 96.09 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.008234, allocations: 19.83 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.008292, allocations: 29.66 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.008469, allocations: 322.8 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.008588, allocations: 35.91 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.008735, allocations: 74.06 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.008999, allocations: 109.9 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.009003, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003424/0.009345, allocations: 141.3 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.00936, allocations: 6.5 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.009369, allocations: 7.984 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009382, allocations: 0 / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.00951, allocations: 15.98 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.009518, allocations: 4 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.009604, allocations: 12.2 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.00962, allocations: 11.94 kB / 1.005 GB, free: 8.379 MB / 0.9636 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 0.0001147/0.009735, allocations: 117.8 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.009755, allocations: 15.88 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.009785, allocations: 8.438 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009787, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009791, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.009794, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.01033, allocations: 318 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01033, allocations: 4 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.01038, allocations: 7.984 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01039, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.0104, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0104, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0104, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.01074, allocations: 207.4 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01076, allocations: 15.89 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01077, allocations: 4 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.01087, allocations: 7.984 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.01091, allocations: 4 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01092, allocations: 7.984 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.01099, allocations: 91.22 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01099, allocations: 0 / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002545/0.01124, allocations: 19.98 kB / 1.006 GB, free: 7.496 MB / 0.9636 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.0001792/0.01142, allocations: 100.2 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.01173, allocations: 79.88 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01173, allocations: 0 / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01186, allocations: 31.92 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.01215, allocations: 19.86 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01253, allocations: 153.5 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.01261, allocations: 79.77 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01265, allocations: 8 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.01269, allocations: 16.5 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.01269, allocations: 0 / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of Templates: time 0.004293/0.01698, allocations: 1.016 MB / 1.008 GB, free: 5.969 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.932560146786273]