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.001127/0.001127, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.004294/0.004294, allocations: 169.3 kB / 24.14 MB, free: 352 kB / 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.065/1.065, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.6187/0.6187, allocations: 115 MB / 376 MB, free: 7.508 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 2.254e-06/2.254e-06, allocations: 0 / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.542e-05, allocations: 6.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001944/0.00197, allocations: 0.7439 MB / 429.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.003419, allocations: 1.123 MB / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.00347, allocations: 0 / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.003502, allocations: 3.938 kB / 430.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.00359, allocations: 19.86 kB / 430.6 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.003945, allocations: 51.77 kB / 430.7 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004073, allocations: 79.7 kB / 430.7 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.004167, allocations: 16.11 kB / 430.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.004266, allocations: 39.97 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.004324, allocations: 27.89 kB / 430.8 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004342, allocations: 4 kB / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.245e-05/0.004404, allocations: 15.98 kB / 430.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.004434, allocations: 23.91 kB / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.004461, allocations: 12 kB / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004596, allocations: 63.8 kB / 430.9 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004599, allocations: 0 / 430.9 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004599, allocations: 3.938 kB / 431 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004603, allocations: 0 / 431 MB, free: 0.5586 MB / 394.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.0003802/0.004983, allocations: 276.7 kB / 431.2 MB, free: 272 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.005021, allocations: 12.03 kB / 431.2 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.005057, allocations: 8.922 kB / 431.2 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.005154, allocations: 117.6 kB / 431.4 MB, free: 108 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005166, allocations: 4.375 kB / 431.4 MB, free: 104 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.005182, allocations: 8.375 kB / 431.4 MB, free: 96 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.005306, allocations: 66.88 kB / 431.4 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005314, allocations: 192 / 431.4 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005323, allocations: 4.375 kB / 431.4 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.005331, allocations: 8.125 kB / 431.4 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.005356, allocations: 7.984 kB / 431.5 MB, free: 0 / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.005767, allocations: 184.2 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.005856, allocations: 38.61 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.005878, allocations: 12.84 kB / 431.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.005894, allocations: 0 / 431.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.218e-05/0.005976, allocations: 71.3 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.005977, allocations: 0 / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001376/0.006115, allocations: 61.75 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.006157, allocations: 51.41 kB / 431.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.00624, allocations: 126.7 kB / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.006255, allocations: 29.7 kB / 432 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.006297, allocations: 92.08 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.006318, allocations: 15.83 kB / 432.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.006369, allocations: 33.69 kB / 432.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.006522, allocations: 314.8 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.00655, allocations: 15.98 kB / 432.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.006599, allocations: 53.94 kB / 432.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.006684, allocations: 73.86 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006687, allocations: 0 / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000131/0.006818, allocations: 77.55 kB / 432.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.006836, allocations: 15.92 kB / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.006842, allocations: 0 / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.006858, allocations: 7.938 kB / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.006956, allocations: 15.98 kB / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006961, allocations: 4.312 kB / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.007012, allocations: 4 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.007024, allocations: 8 kB / 432.7 MB, free: 14.57 MB / 410.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 7.742e-05/0.007102, allocations: 118 kB / 432.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.007119, allocations: 15.92 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.007144, allocations: 4.438 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007146, allocations: 0 / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.00715, allocations: 4 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.007154, allocations: 0 / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.007406, allocations: 226.6 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.007411, allocations: 3.938 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.007444, allocations: 4 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.007446, allocations: 0 / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.007455, allocations: 8 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007457, allocations: 0 / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.00746, allocations: 3.984 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007573, allocations: 147.5 kB / 433.3 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.007586, allocations: 11.89 kB / 433.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.0076, allocations: 3.984 kB / 433.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-05/0.007657, allocations: 4 kB / 433.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.00769, allocations: 11.92 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.007698, allocations: 8 kB / 433.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.5e-05/0.007723, allocations: 16.84 kB / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007723, allocations: 0 / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.00798, allocations: 23.92 kB / 433.3 MB, free: 13.92 MB / 410.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.0001451/0.008125, allocations: 80.42 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.008236, allocations: 37.77 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.008242, allocations: 4 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.008284, allocations: 20.78 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.008495, allocations: 23.97 kB / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.008813, allocations: 161 kB / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.008859, allocations: 67.36 kB / 433.7 MB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.439e-05/0.008893, allocations: 7.984 kB / 433.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.008958, allocations: 59.38 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008958, allocations: 0 / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of Templates: time 0.003442/0.0124, allocations: 1.063 MB / 434.9 MB, free: 12.35 MB / 410.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.485043415799737]