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.001216/0.001216, 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.001342/0.001342, 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 1.119/1.119, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.7031/0.7031, allocations: 115 MB / 376 MB, free: 7.445 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.345e-06/2.345e-06, allocations: 3.938 kB / 428.7 MB, free: 2.738 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.799e-05, allocations: 2.312 kB / 428.7 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002548/0.002576, allocations: 0.7132 MB / 429.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004231, allocations: 1.127 MB / 430.6 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.004293, allocations: 0 / 430.6 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.004331, allocations: 7.922 kB / 430.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.004421, allocations: 11.92 kB / 430.6 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.004778, allocations: 55.64 kB / 430.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.004905, allocations: 71.83 kB / 430.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.004996, allocations: 7.984 kB / 430.7 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.005111, allocations: 43.91 kB / 430.8 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.005174, allocations: 23.95 kB / 430.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.005193, allocations: 4 kB / 430.8 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.005294, allocations: 23.98 kB / 430.8 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.005322, allocations: 19.91 kB / 430.9 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.005355, allocations: 19.98 kB / 430.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.005521, allocations: 67.73 kB / 430.9 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.005525, allocations: 0 / 430.9 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005526, allocations: 0 / 430.9 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.005531, allocations: 0 / 430.9 MB, free: 0.5273 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.0005279/0.006059, allocations: 284.7 kB / 431.2 MB, free: 228 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.00611, allocations: 8.031 kB / 431.2 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.00627, allocations: 12.92 kB / 431.2 MB, free: 208 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.006384, allocations: 109.8 kB / 431.3 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.006408, allocations: 8.375 kB / 431.4 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.006422, allocations: 8.375 kB / 431.4 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.0066, allocations: 78.8 kB / 431.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006611, allocations: 4.188 kB / 431.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006623, allocations: 8.359 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.006631, allocations: 384 / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.006676, allocations: 11.94 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.007067, allocations: 180.2 kB / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.007175, allocations: 54.48 kB / 431.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.007202, allocations: 16.86 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.007221, allocations: 3.984 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.007338, allocations: 71.33 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.007341, allocations: 0 / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001979/0.007539, allocations: 77.73 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.007583, allocations: 55.39 kB / 431.9 MB, free: 15.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.007661, allocations: 110.7 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.007685, allocations: 33.69 kB / 432.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.007727, allocations: 84.38 kB / 432.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.007758, allocations: 23.78 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.007814, allocations: 45.62 kB / 432.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.00793, allocations: 322.8 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.00796, allocations: 8 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.008012, allocations: 34.56 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.221e-05/0.008104, allocations: 62.52 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.008106, allocations: 0 / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001493/0.008256, allocations: 85.53 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.008272, allocations: 4 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008278, allocations: 8.062 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.008295, allocations: 3.938 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.008424, allocations: 23.98 kB / 432.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.008429, allocations: 0 / 432.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.008474, allocations: 11.95 kB / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.008486, allocations: 4 kB / 432.8 MB, free: 14.52 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 9.337e-05/0.00858, allocations: 121.7 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.008597, allocations: 7.984 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.008731, allocations: 66.11 kB / 433 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.008736, allocations: 7.938 kB / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008738, allocations: 7.938 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.008743, allocations: 3.984 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.009013, allocations: 222.7 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009014, allocations: 0 / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.009073, allocations: 8 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.009076, allocations: 3.938 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.009086, allocations: 4.188 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.00909, allocations: 4 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009092, allocations: 4 kB / 433.2 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.009238, allocations: 172 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.009249, allocations: 8 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.009269, allocations: 3.938 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.00936, allocations: 7.984 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.009402, allocations: 11.98 kB / 433.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.009409, allocations: 0 / 433.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.009426, allocations: 8.859 kB / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009426, allocations: 0 / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.009678, allocations: 20 kB / 433.4 MB, free: 13.79 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.0001665/0.009844, allocations: 88.34 kB / 433.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.009985, allocations: 68.75 kB / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.009989, allocations: 0 / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.01004, allocations: 28.83 kB / 433.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01028, allocations: 15.77 kB / 433.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.01083, allocations: 161.1 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.859e-05/0.01088, allocations: 63.28 kB / 433.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.01091, allocations: 16.61 kB / 433.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.01099, allocations: 55.38 kB / 433.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01099, allocations: 0 / 433.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of Templates: time 0.004089/0.01508, allocations: 1.121 MB / 435 MB, free: 12.13 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6155889038927853]