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.00115/0.00115, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001447/0.001447, allocations: 169.8 kB / 25.18 MB, free: 9.113 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 0.945/0.945, allocations: 177.1 MB / 205.6 MB, free: 4.359 MB / 186.7 MB " [Timeout remaining time 179] 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 1.922/1.922, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] 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.404e-06/2.404e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.275e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002143/0.002165, allocations: 0.8023 MB / 0.7764 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.00382, allocations: 1.127 MB / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.003891, allocations: 0 / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.003936, allocations: 3.938 kB / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.00404, allocations: 11.88 kB / 0.7775 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.004389, allocations: 59.75 kB / 0.7775 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.004528, allocations: 71.77 kB / 0.7776 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004636, allocations: 16.17 kB / 0.7776 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004752, allocations: 39.89 kB / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.004816, allocations: 23.97 kB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004838, allocations: 4 kB / 0.7777 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/0.004935, allocations: 19.94 kB / 0.7777 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.004965, allocations: 15.97 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.00501, allocations: 23.92 kB / 0.7777 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.005172, allocations: 71.66 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.005174, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.005175, allocations: 4 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.00518, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 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.0004476/0.005627, allocations: 268.7 kB / 0.7781 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.005674, allocations: 12.03 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.005719, allocations: 8.938 kB / 0.7781 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.005835, allocations: 113.7 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005851, allocations: 4.375 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.005869, allocations: 4.375 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.006013, allocations: 66.88 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006023, allocations: 192 / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.006035, allocations: 8.375 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.006045, allocations: 8.125 kB / 0.7783 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.006073, allocations: 8 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.00649, allocations: 196.1 kB / 0.7785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006592, allocations: 26.58 kB / 0.7785 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.006614, allocations: 12.98 kB / 0.7785 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006633, allocations: 0 / 0.7785 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.006734, allocations: 63.31 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.006736, allocations: 4 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001173/0.006853, allocations: 65.7 kB / 0.7786 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.006887, allocations: 51.41 kB / 0.7787 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.006949, allocations: 130.5 kB / 0.7788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.00696, allocations: 29.7 kB / 0.7789 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.006992, allocations: 92.12 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.007005, allocations: 7.906 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.00704, allocations: 29.69 kB / 0.779 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.007108, allocations: 322.8 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.007122, allocations: 4 kB / 0.7793 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.007157, allocations: 58.42 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.007216, allocations: 73.86 kB / 0.7794 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007217, allocations: 4 kB / 0.7794 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.141e-05/0.007299, allocations: 81.52 kB / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007312, allocations: 11.94 kB / 0.7795 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007317, allocations: 0 / 0.7795 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.007326, allocations: 4 kB / 0.7795 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.00741, allocations: 15.98 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007416, allocations: 7.984 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.007451, allocations: 11.89 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.00746, allocations: 4 kB / 0.7795 GB, free: 10.27 MB / 0.7448 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 5.365e-05/0.007514, allocations: 122 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.007524, allocations: 19.91 kB / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.007547, allocations: 8.438 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.00755, allocations: 4 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007552, allocations: 0 / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.007554, allocations: 0 / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.007723, allocations: 210.8 kB / 0.7799 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007724, allocations: 3.938 kB / 0.7799 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.007748, allocations: 8 kB / 0.7799 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00775, allocations: 0 / 0.7799 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.007754, allocations: 3.938 kB / 0.7799 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007754, allocations: 4 kB / 0.7799 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007755, allocations: 0 / 0.7799 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.158e-05/0.007827, allocations: 155.8 kB / 0.7801 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.007837, allocations: 15.83 kB / 0.7801 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.007846, allocations: 0 / 0.7801 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.00788, allocations: 11.98 kB / 0.7801 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.007902, allocations: 0 / 0.7801 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.007906, allocations: 7.984 kB / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.007923, allocations: 25 kB / 0.7801 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007923, allocations: 0 / 0.7801 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001381/0.008061, allocations: 12 kB / 0.7801 GB, free: 9.609 MB / 0.7448 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 8.535e-05/0.008146, allocations: 92.41 kB / 0.7802 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.008219, allocations: 36.86 kB / 0.7803 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.008223, allocations: 0 / 0.7803 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.008254, allocations: 32.75 kB / 0.7803 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.008379, allocations: 11.94 kB / 0.7803 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.008626, allocations: 191.2 kB / 0.7805 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.008673, allocations: 75.33 kB / 0.7806 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.008726, allocations: 63.36 kB / 0.7806 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008727, allocations: 0 / 0.7806 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.001578/0.01031, allocations: 1.07 MB / 0.7817 GB, free: 7.98 MB / 0.7448 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 > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.387731155380607]