Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001166/0.001166, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001344/0.001344, allocations: 173 kB / 24.05 MB, free: 456 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 0.9331/0.9331, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.6331/0.6331, allocations: 115 MB / 376 MB, free: 7.477 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.059e-05, allocations: 2.312 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.004764/0.004794, allocations: 0.7374 MB / 482.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.006337, allocations: 1.213 MB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.00642, allocations: 5.156 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.006458, allocations: 5.344 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.006553, allocations: 13.61 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.007124, allocations: 141.6 kB / 484.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.007338, allocations: 123.8 kB / 484.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.007447, allocations: 13.89 kB / 484.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.007588, allocations: 74.67 kB / 484.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.007681, allocations: 37.03 kB / 484.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.007709, allocations: 11.53 kB / 484.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.007794, allocations: 28.08 kB / 484.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.00782, allocations: 14.02 kB / 484.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.00787, allocations: 40.58 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.008046, allocations: 109.9 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.008051, allocations: 0 / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008052, allocations: 1.969 kB / 484.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.008056, allocations: 0 / 484.5 MB, free: 10.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006205/0.008676, allocations: 441 kB / 484.9 MB, free: 25.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.00872, allocations: 10.31 kB / 485 MB, free: 25.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.008837, allocations: 17.2 kB / 485 MB, free: 25.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.554e-05/0.008902, allocations: 122.6 kB / 485.1 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.008919, allocations: 4.062 kB / 485.1 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.008939, allocations: 16.34 kB / 485.1 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.009082, allocations: 68.66 kB / 485.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.009091, allocations: 4.172 kB / 485.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.0091, allocations: 6.328 kB / 485.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.009107, allocations: 5.281 kB / 485.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.009138, allocations: 11.03 kB / 485.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.009499, allocations: 301.4 kB / 485.5 MB, free: 25.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.009571, allocations: 47.64 kB / 485.5 MB, free: 25.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.009589, allocations: 15.64 kB / 485.6 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.00961, allocations: 2.219 kB / 485.6 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.009716, allocations: 74.83 kB / 485.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.009718, allocations: 1.094 kB / 485.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002029/0.009921, allocations: 102.3 kB / 485.7 MB, free: 25.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00142/0.01134, allocations: 57.25 kB / 485.8 MB, free: 25.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.01143, allocations: 186.2 kB / 486 MB, free: 24.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.01146, allocations: 27.83 kB / 486 MB, free: 24.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.01152, allocations: 146.3 kB / 486.1 MB, free: 24.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.01154, allocations: 24.41 kB / 486.2 MB, free: 24.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.01161, allocations: 49.05 kB / 486.2 MB, free: 24.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01172, allocations: 496.1 kB / 486.7 MB, free: 24.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.01179, allocations: 53.22 kB / 486.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.01187, allocations: 111.5 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.01198, allocations: 127.9 kB / 487 MB, free: 23.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01198, allocations: 1 kB / 487 MB, free: 23.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/0.01224, allocations: 204.3 kB / 487.2 MB, free: 23.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.01227, allocations: 39.88 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01228, allocations: 3.156 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.0123, allocations: 2.375 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.01238, allocations: 18.39 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01239, allocations: 2.469 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.01251, allocations: 31.12 kB / 487.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.01253, allocations: 13.59 kB / 487.3 MB, free: 23.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.696e-05/0.01261, allocations: 164.2 kB / 487.5 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.01263, allocations: 16.8 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.01277, allocations: 83.28 kB / 487.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01277, allocations: 0.5625 kB / 487.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01277, allocations: 1.156 kB / 487.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01278, allocations: 0 / 487.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.01299, allocations: 315.2 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.013, allocations: 3.938 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.01304, allocations: 6.688 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01305, allocations: 1.188 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.01306, allocations: 4.578 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.01306, allocations: 1.219 kB / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01306, allocations: 0 / 487.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.01321, allocations: 235.1 kB / 488.1 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.01322, allocations: 14.42 kB / 488.1 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.01323, allocations: 4.25 kB / 488.1 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.01329, allocations: 2.812 kB / 488.1 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.01333, allocations: 10.86 kB / 488.1 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01333, allocations: 6.781 kB / 488.1 MB, free: 22.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.01338, allocations: 134.9 kB / 488.3 MB, free: 22.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01338, allocations: 0 / 488.3 MB, free: 22.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.01366, allocations: 28.41 kB / 488.3 MB, free: 22.86 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000134/0.01379, allocations: 101 kB / 488.4 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.01398, allocations: 154.7 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01398, allocations: 1.188 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.01402, allocations: 32.27 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01429, allocations: 19.81 kB / 488.6 MB, free: 22.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.01478, allocations: 178.2 kB / 488.8 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.01481, allocations: 61.52 kB / 488.8 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.01484, allocations: 3.875 kB / 488.8 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01495, allocations: 90.23 kB / 488.9 MB, free: 22.35 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01495, allocations: 4 kB / 488.9 MB, free: 22.35 MB / 426.7 MB Notification: Performance of Templates: time 0.004347/0.0193, allocations: 1.716 MB / 490.7 MB, free: 22.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4821210019290447]