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.0008293/0.0008293, 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.0008672/0.0008672, allocations: 169 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 0.925/0.925, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.6211/0.6211, allocations: 115 MB / 376 MB, free: 7.492 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.014e-06/2.014e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.51e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001879/0.001904, allocations: 0.6855 MB / 429.4 MB, free: 2.129 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.003409, allocations: 1.131 MB / 430.5 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.003458, allocations: 0 / 430.5 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.003486, allocations: 3.938 kB / 430.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.003561, allocations: 7.938 kB / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.003872, allocations: 51.75 kB / 430.6 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003992, allocations: 75.77 kB / 430.6 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.004073, allocations: 11.98 kB / 430.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.004177, allocations: 39.95 kB / 430.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.004236, allocations: 23.91 kB / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004257, allocations: 8 kB / 430.7 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.004329, allocations: 31.91 kB / 430.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.004354, allocations: 11.92 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.004385, allocations: 23.98 kB / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.004528, allocations: 63.78 kB / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.00453, allocations: 0 / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004532, allocations: 0 / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.004535, allocations: 0 / 430.9 MB, free: 0.6367 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004415/0.004976, allocations: 280.8 kB / 431.1 MB, free: 344 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.005014, allocations: 8.031 kB / 431.1 MB, free: 336 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.005125, allocations: 12.92 kB / 431.2 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.00522, allocations: 113.7 kB / 431.3 MB, free: 184 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.005242, allocations: 12.36 kB / 431.3 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005259, allocations: 4.375 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.005403, allocations: 74.92 kB / 431.4 MB, free: 84 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.00541, allocations: 192 / 431.4 MB, free: 84 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.00542, allocations: 384 / 431.4 MB, free: 84 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005426, allocations: 8.375 kB / 431.4 MB, free: 76 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.254e-05/0.005469, allocations: 23.86 kB / 431.4 MB, free: 52 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.005835, allocations: 176.2 kB / 431.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.005939, allocations: 50.55 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.005968, allocations: 16.84 kB / 431.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.005985, allocations: 0 / 431.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006086, allocations: 79.44 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.006087, allocations: 0 / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001722/0.006259, allocations: 81.55 kB / 431.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.006305, allocations: 55.41 kB / 431.8 MB, free: 15.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.006379, allocations: 114.7 kB / 431.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.006402, allocations: 25.7 kB / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.006447, allocations: 92.36 kB / 432.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.006477, allocations: 23.78 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.006528, allocations: 33.69 kB / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.006624, allocations: 322.8 kB / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.00665, allocations: 8 kB / 432.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.006695, allocations: 34.58 kB / 432.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.727e-05/0.006773, allocations: 58.47 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.006775, allocations: 0 / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001277/0.006903, allocations: 81.66 kB / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.00692, allocations: 8 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006925, allocations: 0 / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.00694, allocations: 3.938 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.007055, allocations: 27.92 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007059, allocations: 0 / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.007104, allocations: 23.98 kB / 432.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.007113, allocations: 4 kB / 432.7 MB, free: 14.63 MB / 410.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.051e-05/0.007194, allocations: 117.8 kB / 432.8 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.00721, allocations: 7.984 kB / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.00733, allocations: 74.05 kB / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.007333, allocations: 3.938 kB / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007335, allocations: 0 / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007338, allocations: 4 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.007579, allocations: 222.7 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007581, allocations: 0 / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.00763, allocations: 15.98 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007632, allocations: 0 / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.007641, allocations: 4.188 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007643, allocations: 0 / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.007646, allocations: 4 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007777, allocations: 168 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.007786, allocations: 3.984 kB / 433.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.007809, allocations: 7.938 kB / 433.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.007886, allocations: 4 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.007919, allocations: 15.92 kB / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007926, allocations: 4 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.748e-05/0.007943, allocations: 16.83 kB / 433.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007943, allocations: 0 / 433.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.008191, allocations: 20 kB / 433.4 MB, free: 13.89 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: 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.0001415/0.008332, allocations: 92.28 kB / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.00845, allocations: 48.88 kB / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.008457, allocations: 4 kB / 433.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.008504, allocations: 28.78 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.008712, allocations: 16.06 kB / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.009211, allocations: 165 kB / 433.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.009254, allocations: 59.34 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.31e-05/0.009287, allocations: 4.5 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.009353, allocations: 63.36 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009354, allocations: 0 / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of Templates: time 0.003558/0.01291, allocations: 1.132 MB / 435 MB, free: 12.24 MB / 410.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.4007802889682353]