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.001291/0.001291, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0011/0.0011, allocations: 169 kB / 24.05 MB, free: 452 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.5997/0.5997, allocations: 115 MB / 376 MB, free: 7.508 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.543e-06/1.543e-06, allocations: 0 / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.201e-05, allocations: 8.719 kB / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001047/0.001059, allocations: 0.6682 MB / 482.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.002002, allocations: 1.132 MB / 483.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.002049, allocations: 1.281 kB / 483.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.002073, allocations: 4.688 kB / 483.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.002132, allocations: 13.11 kB / 483.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.002365, allocations: 55.25 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.002448, allocations: 65.06 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.002519, allocations: 15.48 kB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.002604, allocations: 36.02 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.002644, allocations: 28.67 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.002658, allocations: 5.719 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.002712, allocations: 30.31 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.00273, allocations: 19.23 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002751, allocations: 17.56 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.625e-05/0.002848, allocations: 61.17 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.00285, allocations: 2.5 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00285, allocations: 0 / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.002853, allocations: 0 / 484.1 MB, free: 10.41 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.0003204/0.003174, allocations: 411.2 kB / 484.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.003206, allocations: 10.09 kB / 484.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.003286, allocations: 18.62 kB / 484.5 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.983e-05/0.003336, allocations: 116 kB / 484.6 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.00335, allocations: 4.125 kB / 484.6 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.003361, allocations: 9.5 kB / 484.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003461, allocations: 72.7 kB / 484.7 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003468, allocations: 4.125 kB / 484.7 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.003475, allocations: 5.469 kB / 484.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.003485, allocations: 1.562 kB / 484.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.003515, allocations: 18.66 kB / 484.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.003763, allocations: 278.7 kB / 485 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.003832, allocations: 58.83 kB / 485.1 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.003854, allocations: 20.84 kB / 485.1 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.003873, allocations: 6.484 kB / 485.1 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.003936, allocations: 72.12 kB / 485.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.003937, allocations: 0 / 485.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001673/0.004105, allocations: 116.7 kB / 485.3 MB, free: 9.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.004124, allocations: 58.5 kB / 485.4 MB, free: 9.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382e-05/0.004168, allocations: 164.4 kB / 485.5 MB, free: 9.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004179, allocations: 40.78 kB / 485.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.004317, allocations: 129.4 kB / 485.7 MB, free: 24.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.004337, allocations: 26.78 kB / 485.7 MB, free: 24.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.004372, allocations: 41.83 kB / 485.7 MB, free: 24.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.004481, allocations: 499 kB / 486.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.004505, allocations: 12.48 kB / 486.2 MB, free: 24.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.004537, allocations: 53.44 kB / 486.3 MB, free: 24.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.004596, allocations: 69.7 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004598, allocations: 1 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.725e-05/0.004695, allocations: 97.58 kB / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004706, allocations: 5.656 kB / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.004711, allocations: 5.188 kB / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004723, allocations: 1.094 kB / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.004799, allocations: 27.44 kB / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004801, allocations: 0 / 486.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.004828, allocations: 9.734 kB / 486.5 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.004835, allocations: 2.906 kB / 486.5 MB, free: 24.26 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 6.557e-05/0.004901, allocations: 170 kB / 486.7 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.004913, allocations: 13.45 kB / 486.7 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.005023, allocations: 103.4 kB / 486.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005026, allocations: 5.094 kB / 486.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005028, allocations: 0 / 486.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.005032, allocations: 6.094 kB / 486.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.00523, allocations: 339.8 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005232, allocations: 0 / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.00526, allocations: 14.17 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005262, allocations: 4.969 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.005268, allocations: 1.344 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005269, allocations: 1.438 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005271, allocations: 0.9062 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.005396, allocations: 256.6 kB / 487.4 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005402, allocations: 8.234 kB / 487.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.005414, allocations: 5.25 kB / 487.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.005457, allocations: 8.25 kB / 487.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.005482, allocations: 10 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.005488, allocations: 2.219 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.005522, allocations: 127.4 kB / 487.6 MB, free: 23.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005522, allocations: 0 / 487.6 MB, free: 23.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.005675, allocations: 19.84 kB / 487.6 MB, free: 23.38 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 8.662e-05/0.005762, allocations: 106.4 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.005848, allocations: 62.19 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005848, allocations: 2.438 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.005881, allocations: 36.97 kB / 487.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.006043, allocations: 11.02 kB / 487.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.006369, allocations: 169.8 kB / 488 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.34e-05/0.006392, allocations: 60.67 kB / 488 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.006417, allocations: 8.953 kB / 488 MB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.006466, allocations: 82.94 kB / 488.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006467, allocations: 0 / 488.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of Templates: time 0.002427/0.008893, allocations: 1.185 MB / 489.3 MB, free: 22.86 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.3544960962608457]