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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 195.2 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 93.86 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3837, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0029/0.3867, allocations: 0.8284 MB / 0.9831 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3888, allocations: 1.071 MB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.3889, allocations: 0 / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.3889, allocations: 7.922 kB / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3891, allocations: 3.938 kB / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3895, allocations: 51.83 kB / 0.9842 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3897, allocations: 67.84 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3899, allocations: 16.17 kB / 0.9842 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.39, allocations: 23.92 kB / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3901, allocations: 31.84 kB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3901, allocations: 4 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3902, allocations: 23.91 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.3903, allocations: 15.92 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.3903, allocations: 27.86 kB / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3906, allocations: 80.03 kB / 0.9844 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3906, allocations: 0 / 0.9844 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3906, allocations: 0 / 0.9844 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3906, allocations: 0 / 0.9844 GB, free: 8.121 MB / 0.7136 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.0007547/0.3914, allocations: 379.2 kB / 0.9848 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.3914, allocations: 8.031 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.3915, allocations: 8.844 kB / 0.9848 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3917, allocations: 172.2 kB / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3917, allocations: 4.375 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3918, allocations: 12.38 kB / 0.985 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3921, allocations: 70.16 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3922, allocations: 7.875 kB / 0.9851 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3922, allocations: 3.984 kB / 0.9851 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3922, allocations: 3.938 kB / 0.9851 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3924, allocations: 43.95 kB / 0.9851 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.3934, allocations: 328.6 kB / 0.9854 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3936, allocations: 54.55 kB / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3937, allocations: 32.95 kB / 0.9855 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.3938, allocations: 4 kB / 0.9855 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.3942, allocations: 75.38 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.547e-06/0.3942, allocations: 0 / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005383/0.3947, allocations: 133.8 kB / 0.9857 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3948, allocations: 51.41 kB / 0.9858 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.395, allocations: 121.8 kB / 0.9859 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.395, allocations: 29.7 kB / 0.9859 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.3951, allocations: 100 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3951, allocations: 11.84 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.3952, allocations: 29.7 kB / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3954, allocations: 326.8 kB / 0.9864 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3955, allocations: 23.98 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3957, allocations: 77.92 kB / 0.9865 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.396, allocations: 105.9 kB / 0.9866 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.396, allocations: 4 kB / 0.9866 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003737/0.3964, allocations: 133.5 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3964, allocations: 11.98 kB / 0.9867 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3965, allocations: 80 / 0.9867 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3965, allocations: 4 kB / 0.9867 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3966, allocations: 19.92 kB / 0.9867 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.3967, allocations: 3.984 kB / 0.9867 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3968, allocations: 23.83 kB / 0.9867 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3968, allocations: 4 kB / 0.9868 GB, free: 5.48 MB / 0.7136 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.0001445/0.3969, allocations: 125.8 kB / 0.9869 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.397, allocations: 7.906 kB / 0.9869 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.397, allocations: 8.375 kB / 0.9869 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.397, allocations: 4 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.397, allocations: 0 / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3971, allocations: 3.984 kB / 0.9869 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.3977, allocations: 378.4 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3977, allocations: 0 / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.3977, allocations: 7.984 kB / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3978, allocations: 0 / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3978, allocations: 0 / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.3978, allocations: 11.88 kB / 0.9873 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3978, allocations: 0 / 0.9873 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.3987, allocations: 0.7785 MB / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.3e-05/0.3988, allocations: 85 kB / 0.9881 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3989, allocations: 0 / 0.9881 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.399, allocations: 4 kB / 0.9881 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.399, allocations: 11.98 kB / 0.9881 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.399, allocations: 4 kB / 0.9881 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.3991, allocations: 95.27 kB / 0.9882 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3991, allocations: 0 / 0.9882 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003869/0.3995, allocations: 12 kB / 0.9882 GB, free: 3.812 MB / 0.7136 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.0002825/0.3998, allocations: 114.9 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.4002, allocations: 84.19 kB / 0.9884 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4003, allocations: 4.062 kB / 0.9884 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4004, allocations: 31.97 kB / 0.9885 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4007, allocations: 11.94 kB / 0.9885 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4014, allocations: 294.8 kB / 0.9888 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.402, allocations: 0.6887 MB / 0.9894 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.817e-05/0.402, allocations: 7.984 kB / 0.9894 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.4021, allocations: 15.44 kB / 0.9894 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.4021, allocations: 0 / 0.9894 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.004886/0.407, allocations: 0.9066 MB / 0.9903 GB, free: 1.602 MB / 0.7136 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)