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.001371/0.001371, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001803/0.001803, allocations: 169 kB / 24.25 MB, free: 308 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.9717/0.9717, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.6453/0.6453, allocations: 114.9 MB / 376 MB, free: 7.672 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.074e-06/2.074e-06, allocations: 0 / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.471e-05, allocations: 4.984 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001251/0.001275, allocations: 0.673 MB / 482.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.002242, allocations: 1.139 MB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.002289, allocations: 0 / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.002315, allocations: 3.938 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.002381, allocations: 11.86 kB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.002642, allocations: 52.45 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.002737, allocations: 74.02 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.002823, allocations: 6.625 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.002904, allocations: 39.84 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.002949, allocations: 24.42 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.002965, allocations: 6.844 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.003025, allocations: 26.67 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.003045, allocations: 17.33 kB / 483.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.003075, allocations: 19.38 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003195, allocations: 64.55 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003197, allocations: 1.562 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003198, allocations: 3.938 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.003202, allocations: 0.9062 kB / 483.6 MB, free: 10.57 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.0004551/0.003657, allocations: 411.4 kB / 484 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.003694, allocations: 8.844 kB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.003801, allocations: 16.36 kB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.003872, allocations: 111.8 kB / 484.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.003895, allocations: 13.95 kB / 484.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.003907, allocations: 5.094 kB / 484.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.004048, allocations: 75.16 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004057, allocations: 1.281 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.004068, allocations: 6.375 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.004076, allocations: 4.938 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.004127, allocations: 20.16 kB / 484.3 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.004488, allocations: 299.6 kB / 484.6 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.909e-05/0.004587, allocations: 53.5 kB / 484.6 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.004621, allocations: 25.81 kB / 484.7 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.004639, allocations: 6.75 kB / 484.7 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.44e-05/0.004733, allocations: 74.67 kB / 484.8 MB, free: 9.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.004735, allocations: 1.531 kB / 484.8 MB, free: 9.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002393/0.004975, allocations: 123.2 kB / 484.9 MB, free: 9.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.005004, allocations: 54.72 kB / 484.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.005238, allocations: 163.7 kB / 485.1 MB, free: 25.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.00525, allocations: 35.05 kB / 485.1 MB, free: 25.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.005298, allocations: 136.5 kB / 485.3 MB, free: 25.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.005319, allocations: 22.94 kB / 485.3 MB, free: 25.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.005362, allocations: 38.09 kB / 485.3 MB, free: 25.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.005458, allocations: 0.4939 MB / 485.8 MB, free: 24.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.005495, allocations: 22.28 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.00554, allocations: 49.81 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.005618, allocations: 66.64 kB / 485.9 MB, free: 24.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00562, allocations: 0 / 485.9 MB, free: 24.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001251/0.005746, allocations: 104.4 kB / 486 MB, free: 24.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.00576, allocations: 10 kB / 486.1 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005766, allocations: 1.812 kB / 486.1 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.005779, allocations: 1.094 kB / 486.1 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.005876, allocations: 29.28 kB / 486.1 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.005882, allocations: 3.875 kB / 486.1 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.005916, allocations: 12.08 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.005926, allocations: 3.562 kB / 486.1 MB, free: 24.39 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 7.312e-05/0.005999, allocations: 170.2 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.006013, allocations: 16.27 kB / 486.3 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.006162, allocations: 113.8 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006164, allocations: 2.844 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006168, allocations: 0 / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006172, allocations: 0 / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.006421, allocations: 366 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006423, allocations: 3.062 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.006463, allocations: 9.625 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006465, allocations: 0 / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006474, allocations: 5.25 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.006476, allocations: 1.156 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.006477, allocations: 1.281 kB / 486.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.006623, allocations: 265.2 kB / 487 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.006632, allocations: 10.22 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.006647, allocations: 3.094 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.006696, allocations: 8.203 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.006736, allocations: 9.75 kB / 487.1 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.006744, allocations: 2.156 kB / 487.1 MB, free: 23.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.006783, allocations: 127.7 kB / 487.2 MB, free: 23.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006783, allocations: 2.188 kB / 487.2 MB, free: 23.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.006958, allocations: 19.72 kB / 487.2 MB, free: 23.48 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.0001223/0.00708, allocations: 107.6 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.007218, allocations: 66.88 kB / 487.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007219, allocations: 1.688 kB / 487.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.007263, allocations: 33.53 kB / 487.4 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.007462, allocations: 17.3 kB / 487.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.007919, allocations: 170.9 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.007947, allocations: 58.05 kB / 487.7 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.007972, allocations: 14.94 kB / 487.7 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.008, allocations: 17.09 kB / 487.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008001, allocations: 0 / 487.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of Templates: time 0.002849/0.01085, allocations: 1.085 MB / 488.8 MB, free: 23.04 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.6982482098974288]