Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001862/0.001862, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.002005/0.002005, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.057/1.057, allocations: 115 MB / 375.3 MB, free: 7.605 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.486e-05, allocations: 3.094 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001631/0.001656, allocations: 0.7276 MB / 481.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002768, allocations: 1.101 MB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.002813, allocations: 1.219 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.002837, allocations: 7.875 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.002911, allocations: 18.64 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003156, allocations: 49.94 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.003253, allocations: 71.52 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.003336, allocations: 13.58 kB / 482.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.301e-05/0.003419, allocations: 45.66 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.003469, allocations: 26.02 kB / 482.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003488, allocations: 6.625 kB / 482.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.942e-05/0.003548, allocations: 20.38 kB / 482.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.003569, allocations: 14.3 kB / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.003605, allocations: 25.28 kB / 482.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003732, allocations: 79.84 kB / 483 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003733, allocations: 0.5625 kB / 483 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003734, allocations: 1.031 kB / 483 MB, free: 10.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003738, allocations: 1.375 kB / 483 MB, free: 10.51 MB / 410.7 MB 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.000413/0.004151, allocations: 411.3 kB / 483.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.004184, allocations: 10.44 kB / 483.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.00423, allocations: 7.219 kB / 483.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.0043, allocations: 118 kB / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004313, allocations: 6.844 kB / 483.5 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.004326, allocations: 6.156 kB / 483.5 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.004473, allocations: 60.16 kB / 483.6 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004484, allocations: 4.188 kB / 483.6 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.004493, allocations: 384 / 483.6 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004498, allocations: 5.406 kB / 483.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.004611, allocations: 38.47 kB / 483.7 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.005114, allocations: 316.5 kB / 484 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.005243, allocations: 52.5 kB / 484 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.005311, allocations: 31.95 kB / 484 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.005337, allocations: 9.594 kB / 484.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.005461, allocations: 72.47 kB / 484.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005462, allocations: 1.031 kB / 484.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003197/0.005781, allocations: 114.8 kB / 484.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.005809, allocations: 58.88 kB / 484.3 MB, free: 9.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.005903, allocations: 191.2 kB / 484.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.005915, allocations: 33.97 kB / 484.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.006142, allocations: 141.1 kB / 484.7 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.006161, allocations: 18.39 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.00621, allocations: 37.44 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.006448, allocations: 0.4918 MB / 485.2 MB, free: 24.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.006526, allocations: 21.28 kB / 485.2 MB, free: 24.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.006616, allocations: 88.25 kB / 485.3 MB, free: 24.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.006771, allocations: 125.6 kB / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.006774, allocations: 3.25 kB / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.007019, allocations: 124.2 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007033, allocations: 7.438 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.007038, allocations: 1.375 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007052, allocations: 2.156 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.007166, allocations: 22.81 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.007173, allocations: 2.125 kB / 485.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.007237, allocations: 16.7 kB / 485.6 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.007252, allocations: 11.66 kB / 485.6 MB, free: 24.2 MB / 426.7 MB 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.0001093/0.007361, allocations: 164.5 kB / 485.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.007378, allocations: 9.062 kB / 485.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.007402, allocations: 9.469 kB / 485.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007403, allocations: 1.125 kB / 485.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.007406, allocations: 1.125 kB / 485.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.00741, allocations: 3.984 kB / 485.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.007775, allocations: 368.7 kB / 486.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007777, allocations: 3.938 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.007814, allocations: 7.5 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007816, allocations: 0.8125 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.007823, allocations: 1.719 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007826, allocations: 3.188 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007826, allocations: 3.938 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.008087, allocations: 247.7 kB / 486.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.008098, allocations: 10.53 kB / 486.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.008113, allocations: 9.094 kB / 486.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.008178, allocations: 5.688 kB / 486.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.008215, allocations: 6.609 kB / 486.5 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.008221, allocations: 3.5 kB / 486.5 MB, free: 23.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.018e-05/0.008311, allocations: 145.3 kB / 486.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008311, allocations: 0 / 486.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.008548, allocations: 16.81 kB / 486.6 MB, free: 23.33 MB / 426.7 MB 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.0001256/0.008673, allocations: 110 kB / 486.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.00889, allocations: 74.78 kB / 486.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008891, allocations: 1.125 kB / 486.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.008969, allocations: 34.36 kB / 486.8 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.009221, allocations: 23.77 kB / 486.9 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.009516, allocations: 163.9 kB / 487 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.009562, allocations: 77.03 kB / 487.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.009594, allocations: 8.812 kB / 487.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.009623, allocations: 13.47 kB / 487.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009624, allocations: 0 / 487.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003788/0.01341, allocations: 1.028 MB / 488.1 MB, free: 22.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.549430541926995]