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.001882/0.001882, allocations: 88.22 kB / 20.21 MB, free: 4.191 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.001962/0.001962, allocations: 161.3 kB / 23.53 MB, free: 0.8789 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.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.038/1.038, allocations: 115 MB / 375.3 MB, free: 7.594 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 1.533e-06/1.533e-06, allocations: 0 / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.199e-05, allocations: 6.906 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001446/0.001468, allocations: 0.6732 MB / 481.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002524, allocations: 1.109 MB / 482.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.002567, allocations: 0.9062 kB / 482.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.002589, allocations: 6 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.002655, allocations: 4.594 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.002896, allocations: 61.33 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.002989, allocations: 69.48 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.00306, allocations: 6.031 kB / 482.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.003138, allocations: 41.89 kB / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003185, allocations: 22.94 kB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.003203, allocations: 9.188 kB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.003274, allocations: 21.75 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.003297, allocations: 18.03 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.003329, allocations: 17.69 kB / 482.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003463, allocations: 89.97 kB / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003465, allocations: 5.531 kB / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003466, allocations: 0 / 482.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.003469, allocations: 3.938 kB / 482.9 MB, free: 10.55 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.003945, allocations: 407.2 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.003974, allocations: 9.062 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.004078, allocations: 15.33 kB / 483.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.395e-05/0.004142, allocations: 112.3 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.00417, allocations: 8.562 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.004188, allocations: 5.625 kB / 483.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.00435, allocations: 81.33 kB / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.00436, allocations: 192 / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.00437, allocations: 384 / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.004374, allocations: 1.406 kB / 483.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.004511, allocations: 48.77 kB / 483.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.004896, allocations: 302.1 kB / 483.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.005051, allocations: 74.48 kB / 484 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.005142, allocations: 41.7 kB / 484 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.005167, allocations: 10.27 kB / 484 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.005307, allocations: 86.91 kB / 484.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.005309, allocations: 0 / 484.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003914/0.0057, allocations: 158 kB / 484.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.005723, allocations: 54.44 kB / 484.3 MB, free: 9.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.005789, allocations: 179.6 kB / 484.5 MB, free: 9.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.005803, allocations: 31.64 kB / 484.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.006007, allocations: 133.1 kB / 484.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.006032, allocations: 32.48 kB / 484.7 MB, free: 25.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.006093, allocations: 43.84 kB / 484.7 MB, free: 25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.006346, allocations: 0.4886 MB / 485.2 MB, free: 24.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.006437, allocations: 38.47 kB / 485.2 MB, free: 24.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.006534, allocations: 68.5 kB / 485.3 MB, free: 24.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.006703, allocations: 102 kB / 485.4 MB, free: 24.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006706, allocations: 5.344 kB / 485.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002524/0.006958, allocations: 133.2 kB / 485.5 MB, free: 24.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006972, allocations: 13.19 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006977, allocations: 1.375 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.006993, allocations: 0.9688 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.007126, allocations: 23.14 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.007133, allocations: 1.812 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.00719, allocations: 18.34 kB / 485.6 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.007203, allocations: 5.031 kB / 485.6 MB, free: 24.3 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 0.0001177/0.007321, allocations: 170.7 kB / 485.8 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.007342, allocations: 16.38 kB / 485.8 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.007615, allocations: 134.1 kB / 485.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007617, allocations: 0 / 485.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.00762, allocations: 1.344 kB / 485.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007623, allocations: 2.156 kB / 485.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.008068, allocations: 402.7 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00807, allocations: 0 / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.008125, allocations: 10.2 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008127, allocations: 1.625 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.008137, allocations: 0.8125 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008139, allocations: 1.469 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008139, allocations: 0.5 kB / 486.3 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.00846, allocations: 292.1 kB / 486.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-06/0.00847, allocations: 7.656 kB / 486.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.008489, allocations: 5.344 kB / 486.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.00858, allocations: 7.406 kB / 486.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.00862, allocations: 6.797 kB / 486.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.00863, allocations: 2.375 kB / 486.6 MB, free: 23.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.946e-05/0.008709, allocations: 132.5 kB / 486.8 MB, free: 23.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008709, allocations: 2.875 kB / 486.8 MB, free: 23.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.008956, allocations: 22.83 kB / 486.8 MB, free: 23.36 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.0001207/0.009077, allocations: 111.7 kB / 486.9 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.009317, allocations: 96.73 kB / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009319, allocations: 2.438 kB / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.009421, allocations: 48.94 kB / 487.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.009671, allocations: 20.31 kB / 487.1 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.009985, allocations: 165 kB / 487.2 MB, free: 23.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.01003, allocations: 68.8 kB / 487.3 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.01006, allocations: 8.594 kB / 487.3 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.01009, allocations: 18.06 kB / 487.3 MB, free: 22.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01009, allocations: 0 / 487.3 MB, free: 22.98 MB / 426.7 MB Notification: Performance of Templates: time 0.004104/0.0142, allocations: 1.089 MB / 488.4 MB, free: 22.9 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: 5.5510848050471395]