Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001128/0.001128, allocations: 92.11 kB / 20.43 MB, free: 4.141 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.001276/0.001276, allocations: 165 kB / 23.8 MB, free: 0.7695 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.8983/0.8983, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6277/0.6277, allocations: 115 MB / 375.7 MB, free: 7.66 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.54e-05, allocations: 6.203 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001669/0.001694, allocations: 0.6823 MB / 482.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002898, allocations: 1.134 MB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.002955, allocations: 3.938 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.002987, allocations: 0 / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.003061, allocations: 8.828 kB / 483.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.003372, allocations: 57.22 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003481, allocations: 67.73 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.003575, allocations: 11.78 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.003662, allocations: 41.81 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.003718, allocations: 25.44 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003738, allocations: 6.25 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.003811, allocations: 26.84 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.003835, allocations: 18.03 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.003872, allocations: 18.36 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.00402, allocations: 69.72 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004022, allocations: 1.188 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004023, allocations: 1.188 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004027, allocations: 0 / 483.7 MB, free: 10.53 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004761/0.004503, allocations: 407.4 kB / 484.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.004544, allocations: 10.19 kB / 484.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.004661, allocations: 19.19 kB / 484.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.00473, allocations: 106.9 kB / 484.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.004751, allocations: 7.906 kB / 484.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004767, allocations: 6.406 kB / 484.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004932, allocations: 85.23 kB / 484.3 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.00494, allocations: 192 / 484.3 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004952, allocations: 4.375 kB / 484.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.004961, allocations: 1.562 kB / 484.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.00502, allocations: 24.36 kB / 484.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.005573, allocations: 300.5 kB / 484.6 MB, free: 25.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.005692, allocations: 57.89 kB / 484.7 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.005734, allocations: 23.89 kB / 484.7 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.005751, allocations: 4.281 kB / 484.7 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.005853, allocations: 74.77 kB / 484.8 MB, free: 25.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.005854, allocations: 0 / 484.8 MB, free: 25.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002685/0.006123, allocations: 119.9 kB / 484.9 MB, free: 25.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.006152, allocations: 62.88 kB / 484.9 MB, free: 25.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.006229, allocations: 164.4 kB / 485.1 MB, free: 25.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.006244, allocations: 32.33 kB / 485.1 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.006289, allocations: 133.3 kB / 485.3 MB, free: 25.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.006315, allocations: 28 kB / 485.3 MB, free: 25.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.006364, allocations: 38.27 kB / 485.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.006483, allocations: 0.4897 MB / 485.8 MB, free: 24.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.006528, allocations: 17.59 kB / 485.8 MB, free: 24.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.006584, allocations: 48.97 kB / 485.9 MB, free: 24.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.006681, allocations: 74.08 kB / 486 MB, free: 24.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.006683, allocations: 2.312 kB / 486 MB, free: 24.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000168/0.006851, allocations: 99.77 kB / 486.1 MB, free: 24.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006867, allocations: 10.47 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006871, allocations: 1 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.006886, allocations: 2.125 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.007001, allocations: 28.98 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007007, allocations: 2.125 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.007052, allocations: 8.703 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.007064, allocations: 12.06 kB / 486.1 MB, free: 24.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.255e-05/0.007147, allocations: 165.8 kB / 486.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.007166, allocations: 17.86 kB / 486.3 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.007341, allocations: 104.3 kB / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007344, allocations: 2.531 kB / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.007349, allocations: 5.125 kB / 486.4 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007352, allocations: 0 / 486.4 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.007642, allocations: 368.6 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007643, allocations: 0 / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.007691, allocations: 6.938 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007694, allocations: 0 / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.007704, allocations: 9.438 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007706, allocations: 1.094 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.007707, allocations: 1.5 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.007894, allocations: 268.8 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007902, allocations: 6.297 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.007921, allocations: 1.281 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.007995, allocations: 8.359 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.008035, allocations: 10.94 kB / 487.1 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.008044, allocations: 3.312 kB / 487.1 MB, free: 23.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.757e-05/0.008092, allocations: 131 kB / 487.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008092, allocations: 0.9688 kB / 487.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.008369, allocations: 19.19 kB / 487.2 MB, free: 23.44 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001134/0.008482, allocations: 100.9 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.008648, allocations: 71.14 kB / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00865, allocations: 0 / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.008707, allocations: 37.31 kB / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.008989, allocations: 19.52 kB / 487.5 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.009484, allocations: 175.5 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.009516, allocations: 59.83 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.009547, allocations: 5.562 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.009582, allocations: 14.52 kB / 487.7 MB, free: 23.08 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009583, allocations: 0.9375 kB / 487.7 MB, free: 23.08 MB / 426.7 MB Notification: Performance of Templates: time 0.003738/0.01332, allocations: 1.148 MB / 488.9 MB, free: 22.99 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4221579739823937]