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.00124/0.00124, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001121/0.001121, allocations: 195 kB / 17.98 MB, free: 5.031 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002596/0.3353, allocations: 1.386 MB / 0.5589 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3375, allocations: 1.935 MB / 0.5608 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.3375, allocations: 1.375 kB / 0.5608 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.3388, allocations: 385 kB / 0.5612 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.3389, allocations: 20.72 kB / 0.5612 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.518e-06/0.3389, allocations: 1.406 kB / 0.5612 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3391, allocations: 120.5 kB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.3392, allocations: 24.45 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.3392, allocations: 43.2 kB / 0.5614 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3394, allocations: 61.48 kB / 0.5615 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3394, allocations: 5.625 kB / 0.5615 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.3401, allocations: 181.9 kB / 0.5616 GB, free: 34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3402, allocations: 31.98 kB / 0.5617 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.027e-05/0.3403, allocations: 71.88 kB / 0.5617 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.3409, allocations: 296.2 kB / 0.562 GB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.3409, allocations: 1.219 kB / 0.562 GB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.341, allocations: 0.5625 kB / 0.562 GB, free: 33.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.341, allocations: 0 / 0.562 GB, free: 33.84 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.0007745/0.3417, allocations: 494.5 kB / 0.5625 GB, free: 33.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3418, allocations: 9.562 kB / 0.5625 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.342, allocations: 95.05 kB / 0.5626 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3422, allocations: 289.2 kB / 0.5629 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3422, allocations: 153.2 kB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.3423, allocations: 162.6 kB / 0.5632 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.094e-05/0.3423, allocations: 106.7 kB / 0.5633 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3423, allocations: 75.28 kB / 0.5633 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3424, allocations: 156.9 kB / 0.5635 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.3424, allocations: 153.4 kB / 0.5636 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.3424, allocations: 150.6 kB / 0.5638 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.3427, allocations: 0.5074 MB / 0.5643 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.3427, allocations: 165.1 kB / 0.5644 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.3428, allocations: 87.7 kB / 0.5645 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3428, allocations: 79.22 kB / 0.5646 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3428, allocations: 112.7 kB / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3428, allocations: 0 / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.00017/0.343, allocations: 46.88 kB / 0.5647 GB, free: 31.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.343, allocations: 128 kB / 0.5649 GB, free: 30.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3434, allocations: 322.9 kB / 0.5652 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3434, allocations: 31.98 kB / 0.5652 GB, free: 30.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.3434, allocations: 113.5 kB / 0.5653 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3434, allocations: 4.719 kB / 0.5653 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.3435, allocations: 64.44 kB / 0.5654 GB, free: 30.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.3436, allocations: 333.1 kB / 0.5657 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.3437, allocations: 68.62 kB / 0.5658 GB, free: 30.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3438, allocations: 119.2 kB / 0.5659 GB, free: 30.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.344, allocations: 207.9 kB / 0.5661 GB, free: 30.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.344, allocations: 0 / 0.5661 GB, free: 30.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004338/0.3445, allocations: 248.1 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3445, allocations: 6.188 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3445, allocations: 3.562 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3445, allocations: 2.688 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-06/0.3445, allocations: 1.688 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.3446, allocations: 2.969 kB / 0.5663 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3447, allocations: 28.12 kB / 0.5663 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3447, allocations: 4.047 kB / 0.5664 GB, free: 29.95 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.0002283/0.345, allocations: 228.3 kB / 0.5666 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.345, allocations: 129 kB / 0.5667 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.3451, allocations: 111.5 kB / 0.5668 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.3451, allocations: 182.1 kB / 0.567 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.3451, allocations: 178 kB / 0.5671 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.3452, allocations: 183.4 kB / 0.5673 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3454, allocations: 448.2 kB / 0.5677 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3454, allocations: 108 kB / 0.5678 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.3454, allocations: 111.2 kB / 0.568 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/0.3454, allocations: 182.4 kB / 0.5681 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.3455, allocations: 188.4 kB / 0.5683 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-05/0.3455, allocations: 178.2 kB / 0.5685 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-05/0.3455, allocations: 185.9 kB / 0.5687 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.3456, allocations: 316.7 kB / 0.569 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.3457, allocations: 203.3 kB / 0.5692 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.3458, allocations: 178.3 kB / 0.5693 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3459, allocations: 107.2 kB / 0.5694 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.3459, allocations: 182.7 kB / 0.5696 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3459, allocations: 108.2 kB / 0.5697 GB, free: 26.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.3461, allocations: 214.2 kB / 0.5699 GB, free: 26.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0.9688 kB / 0.5699 GB, free: 26.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.3465, allocations: 64.14 kB / 0.57 GB, free: 26.31 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.000368/0.3469, allocations: 287.9 kB / 0.5702 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3471, allocations: 104.1 kB / 0.5703 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3471, allocations: 0 / 0.5703 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.3472, allocations: 1.844 kB / 0.5703 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3475, allocations: 461 kB / 0.5708 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.348, allocations: 386.6 kB / 0.5712 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.3482, allocations: 0.7471 MB / 0.5719 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.3482, allocations: 4.438 kB / 0.5719 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.3482, allocations: 10.5 kB / 0.5719 GB, free: 24.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3483, allocations: 0 / 0.5719 GB, free: 24.65 MB / 446.1 MB Notification: Performance of Templates: time 0.005946/0.3542, allocations: 2.284 MB / 0.5741 GB, free: 24.41 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)