Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001619/0.001619, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001745/0.001745, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.51/1.51, allocations: 177.2 MB / 203.9 MB, free: 5.566 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 0.962/0.962, allocations: 115 MB / 375.3 MB, free: 7.578 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.77e-05, allocations: 4.844 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002782/0.00282, allocations: 0.719 MB / 481.5 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.004816, allocations: 1.098 MB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.004884, allocations: 1.406 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.004924, allocations: 7.969 kB / 482.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.005025, allocations: 15.14 kB / 482.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.005381, allocations: 55.84 kB / 482.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.005523, allocations: 69.39 kB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.005636, allocations: 18.7 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.005742, allocations: 37.33 kB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.005807, allocations: 34.33 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.00583, allocations: 5.531 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.005901, allocations: 15.98 kB / 482.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.005931, allocations: 19.16 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.005978, allocations: 18.31 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.006153, allocations: 80.91 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006158, allocations: 3.031 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006159, allocations: 1.094 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.006164, allocations: 0 / 483 MB, free: 10.46 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.0006134/0.006777, allocations: 312.4 kB / 483.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.006832, allocations: 9.719 kB / 483.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.0069, allocations: 11.06 kB / 483.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.929e-05/0.006999, allocations: 114.5 kB / 483.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.007017, allocations: 2.812 kB / 483.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.007035, allocations: 8.594 kB / 483.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.007247, allocations: 68.39 kB / 483.5 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.007258, allocations: 5.125 kB / 483.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.007272, allocations: 6.422 kB / 483.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.00728, allocations: 8.109 kB / 483.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.007539, allocations: 45.11 kB / 483.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.008642, allocations: 256.7 kB / 483.8 MB, free: 25.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.008838, allocations: 60.42 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.008943, allocations: 28.39 kB / 483.9 MB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.008978, allocations: 6.125 kB / 483.9 MB, free: 25.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.009247, allocations: 77.55 kB / 484 MB, free: 25.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.00925, allocations: 0 / 484 MB, free: 25.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007076/0.009957, allocations: 132.7 kB / 484.1 MB, free: 25.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.01001, allocations: 56.3 kB / 484.2 MB, free: 25.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.01018, allocations: 117.4 kB / 484.3 MB, free: 25.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.0102, allocations: 33.69 kB / 484.3 MB, free: 25.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.0103, allocations: 92.22 kB / 484.4 MB, free: 25.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.01034, allocations: 18.92 kB / 484.4 MB, free: 25.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.01041, allocations: 26.84 kB / 484.5 MB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.0106, allocations: 320.6 kB / 484.8 MB, free: 24.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.01078, allocations: 32.2 kB / 484.8 MB, free: 24.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.01098, allocations: 76.98 kB / 484.9 MB, free: 24.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.01136, allocations: 110.7 kB / 485 MB, free: 24.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01136, allocations: 0 / 485 MB, free: 24.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003061/0.01167, allocations: 139 kB / 485.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01168, allocations: 6.75 kB / 485.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01169, allocations: 2.219 kB / 485.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.01171, allocations: 6.406 kB / 485.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01183, allocations: 23.39 kB / 485.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01184, allocations: 6.594 kB / 485.2 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.01193, allocations: 17.25 kB / 485.2 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01194, allocations: 6.312 kB / 485.2 MB, free: 24.7 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 8.378e-05/0.01202, allocations: 123.2 kB / 485.3 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.01204, allocations: 9.375 kB / 485.3 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.01208, allocations: 14 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01208, allocations: 1.094 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01209, allocations: 0 / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.01209, allocations: 1.094 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.0126, allocations: 318.5 kB / 485.6 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.0126, allocations: 0 / 485.6 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.01267, allocations: 9.156 kB / 485.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01267, allocations: 0 / 485.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01269, allocations: 8.547 kB / 485.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01269, allocations: 2.031 kB / 485.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01269, allocations: 0 / 485.7 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.01313, allocations: 203.4 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.01315, allocations: 6.234 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01317, allocations: 3.938 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.01332, allocations: 7.562 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.01339, allocations: 9.438 kB / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.0134, allocations: 6.156 kB / 485.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01351, allocations: 92.16 kB / 486 MB, free: 24.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01351, allocations: 0 / 486 MB, free: 24.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.0138, allocations: 17.25 kB / 486 MB, free: 24.04 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.00017/0.01397, allocations: 105 kB / 486.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01426, allocations: 73.98 kB / 486.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01426, allocations: 0 / 486.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.0144, allocations: 34.62 kB / 486.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.01486, allocations: 24.02 kB / 486.2 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.01536, allocations: 167.8 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.01545, allocations: 74.09 kB / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01549, allocations: 11.22 kB / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.01553, allocations: 13.34 kB / 486.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01553, allocations: 1.406 kB / 486.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of Templates: time 0.005432/0.02096, allocations: 1.014 MB / 487.5 MB, free: 23.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.523248816025443]