Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 115.4 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6835/0.6835, allocations: 115.1 MB / 406.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.91 kB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3555, allocations: 76.14 MB / 0.5576 GB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002433/0.358, allocations: 1.396 MB / 0.5589 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3598, allocations: 1.93 MB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.3599, allocations: 0 / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.3609, allocations: 381 kB / 0.5612 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/0.3609, allocations: 21.23 kB / 0.5612 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.499e-06/0.3609, allocations: 1.062 kB / 0.5612 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3612, allocations: 125.6 kB / 0.5613 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.3612, allocations: 19.45 kB / 0.5613 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.3613, allocations: 42.11 kB / 0.5614 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3614, allocations: 63.09 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3614, allocations: 2.75 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.3619, allocations: 191.1 kB / 0.5616 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.362, allocations: 28.83 kB / 0.5617 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.3621, allocations: 71.98 kB / 0.5617 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.3625, allocations: 284.8 kB / 0.562 GB, free: 33.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3625, allocations: 1.562 kB / 0.562 GB, free: 33.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3626, allocations: 0 / 0.562 GB, free: 33.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3626, allocations: 1.125 kB / 0.562 GB, free: 33.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006521/0.3632, allocations: 497 kB / 0.5625 GB, free: 33.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3633, allocations: 8.562 kB / 0.5625 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3634, allocations: 102 kB / 0.5626 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3636, allocations: 290.7 kB / 0.5629 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.3636, allocations: 153.1 kB / 0.563 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.3637, allocations: 157.3 kB / 0.5632 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.449e-05/0.3637, allocations: 106.5 kB / 0.5633 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3638, allocations: 77.53 kB / 0.5633 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.3638, allocations: 155.6 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.3638, allocations: 151.2 kB / 0.5636 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.917e-05/0.3638, allocations: 156.8 kB / 0.5638 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.3641, allocations: 0.505 MB / 0.5643 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.3642, allocations: 167.6 kB / 0.5644 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.3642, allocations: 82.17 kB / 0.5645 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3642, allocations: 79.22 kB / 0.5646 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3643, allocations: 116.6 kB / 0.5647 GB, free: 31.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3643, allocations: 0.5938 kB / 0.5647 GB, free: 31.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001721/0.3644, allocations: 46.56 kB / 0.5647 GB, free: 31.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3645, allocations: 127.5 kB / 0.5649 GB, free: 31.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3648, allocations: 325.2 kB / 0.5652 GB, free: 30.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3649, allocations: 29.64 kB / 0.5652 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.3649, allocations: 118.8 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3649, allocations: 0 / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.365, allocations: 62.41 kB / 0.5654 GB, free: 30.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.3651, allocations: 332.1 kB / 0.5657 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.3652, allocations: 68.78 kB / 0.5657 GB, free: 30.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3653, allocations: 123.7 kB / 0.5659 GB, free: 30.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3655, allocations: 206.1 kB / 0.5661 GB, free: 30.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3655, allocations: 1.406 kB / 0.5661 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004196/0.3659, allocations: 247 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.366, allocations: 6.906 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.366, allocations: 1.438 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.366, allocations: 3.875 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.366, allocations: 2.859 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.366, allocations: 2.984 kB / 0.5663 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3661, allocations: 27.84 kB / 0.5663 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3662, allocations: 4.188 kB / 0.5663 GB, free: 30.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001959/0.3664, allocations: 227.5 kB / 0.5666 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.3664, allocations: 124.7 kB / 0.5667 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3665, allocations: 110.9 kB / 0.5668 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.3665, allocations: 187.1 kB / 0.567 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.3665, allocations: 178 kB / 0.5671 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/0.3666, allocations: 184.3 kB / 0.5673 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3668, allocations: 448.6 kB / 0.5677 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.3668, allocations: 104.4 kB / 0.5678 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.3668, allocations: 110.6 kB / 0.5679 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-05/0.3669, allocations: 182.6 kB / 0.5681 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.3669, allocations: 183.3 kB / 0.5683 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.3669, allocations: 182.8 kB / 0.5685 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/0.367, allocations: 178 kB / 0.5686 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.367, allocations: 316.9 kB / 0.5689 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.3671, allocations: 205.8 kB / 0.5691 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.3672, allocations: 179.6 kB / 0.5693 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.3673, allocations: 108.2 kB / 0.5694 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3673, allocations: 182.3 kB / 0.5696 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3673, allocations: 104.3 kB / 0.5697 GB, free: 26.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3676, allocations: 223.7 kB / 0.5699 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3676, allocations: 0 / 0.5699 GB, free: 26.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.3679, allocations: 64.09 kB / 0.57 GB, free: 26.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003334/0.3683, allocations: 276.7 kB / 0.5702 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3685, allocations: 112 kB / 0.5703 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3685, allocations: 1.031 kB / 0.5703 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.3685, allocations: 0.6094 kB / 0.5703 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3688, allocations: 466.1 kB / 0.5708 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.3693, allocations: 391.7 kB / 0.5711 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3696, allocations: 0.7419 MB / 0.5719 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.3696, allocations: 3.812 kB / 0.5719 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.3696, allocations: 9.281 kB / 0.5719 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3696, allocations: 0 / 0.5719 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Templates: time 0.005924/0.3755, allocations: 2.297 MB / 0.5741 GB, free: 24.55 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)