Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 112.2 kB / 17.04 MB, free: 6.074 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.0009954/0.0009954, allocations: 196 kB / 17.98 MB, free: 5.16 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7086/0.7086, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3662, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002193/0.3684, allocations: 1.394 MB / 0.5589 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3709, allocations: 2.674 MB / 0.5616 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.371, allocations: 1.562 kB / 0.5616 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.3723, allocations: 0.5797 MB / 0.5621 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.3724, allocations: 24.05 kB / 0.5621 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.3724, allocations: 1.281 kB / 0.5621 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.3726, allocations: 158.1 kB / 0.5623 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.3727, allocations: 35.19 kB / 0.5623 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.3728, allocations: 59.2 kB / 0.5624 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3729, allocations: 77.22 kB / 0.5625 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3729, allocations: 2.625 kB / 0.5625 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.3739, allocations: 477.2 kB / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.3739, allocations: 32.14 kB / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3741, allocations: 98.36 kB / 0.563 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.3747, allocations: 444.3 kB / 0.5635 GB, free: 33.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3747, allocations: 0 / 0.5635 GB, free: 33.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3747, allocations: 1.156 kB / 0.5635 GB, free: 33.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3747, allocations: 0 / 0.5635 GB, free: 33.07 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.000633/0.3753, allocations: 0.5446 MB / 0.564 GB, free: 32.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3754, allocations: 10.19 kB / 0.564 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3755, allocations: 100.9 kB / 0.5641 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3757, allocations: 307.3 kB / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3757, allocations: 161.2 kB / 0.5645 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3758, allocations: 155.2 kB / 0.5647 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.665e-05/0.3758, allocations: 103.5 kB / 0.5648 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3758, allocations: 80.94 kB / 0.5649 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3758, allocations: 156 kB / 0.565 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3759, allocations: 150.6 kB / 0.5652 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.3759, allocations: 157.1 kB / 0.5653 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.3761, allocations: 0.5326 MB / 0.5658 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.3762, allocations: 168.2 kB / 0.566 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.3762, allocations: 84.8 kB / 0.5661 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.3762, allocations: 75.84 kB / 0.5661 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3762, allocations: 116.9 kB / 0.5663 GB, free: 30.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3762, allocations: 0.5938 kB / 0.5663 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001567/0.3764, allocations: 55.05 kB / 0.5663 GB, free: 30.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.3764, allocations: 129.2 kB / 0.5664 GB, free: 30.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3768, allocations: 432.2 kB / 0.5668 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3768, allocations: 26.77 kB / 0.5669 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3769, allocations: 136 kB / 0.567 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3769, allocations: 0 / 0.567 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.377, allocations: 93.8 kB / 0.5671 GB, free: 29.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.3771, allocations: 340.8 kB / 0.5674 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3772, allocations: 95.98 kB / 0.5675 GB, free: 29.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3773, allocations: 170 kB / 0.5677 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3776, allocations: 308.4 kB / 0.568 GB, free: 29.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3776, allocations: 0 / 0.568 GB, free: 29.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004473/0.3781, allocations: 328.4 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3781, allocations: 6.219 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3781, allocations: 7.266 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3781, allocations: 1 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.3781, allocations: 3.578 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3781, allocations: 4.156 kB / 0.5683 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3783, allocations: 48.5 kB / 0.5683 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3783, allocations: 3.906 kB / 0.5684 GB, free: 28.92 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.0001844/0.3785, allocations: 246.2 kB / 0.5686 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3785, allocations: 120.8 kB / 0.5687 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3786, allocations: 121 kB / 0.5688 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.3786, allocations: 186.6 kB / 0.569 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.3786, allocations: 178.8 kB / 0.5692 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.3786, allocations: 187.4 kB / 0.5693 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3788, allocations: 470.2 kB / 0.5698 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.3789, allocations: 105.8 kB / 0.5699 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.3789, allocations: 106.9 kB / 0.57 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/0.3789, allocations: 180.2 kB / 0.5702 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3789, allocations: 186.4 kB / 0.5703 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.3789, allocations: 178.4 kB / 0.5705 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-05/0.379, allocations: 182.3 kB / 0.5707 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.691e-05/0.3791, allocations: 328.7 kB / 0.571 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.3791, allocations: 204.7 kB / 0.5712 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.3792, allocations: 182.8 kB / 0.5714 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3793, allocations: 112.5 kB / 0.5715 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3793, allocations: 182.6 kB / 0.5717 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3794, allocations: 107.7 kB / 0.5718 GB, free: 25.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.3796, allocations: 275.6 kB / 0.572 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3796, allocations: 0.7812 kB / 0.572 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.38, allocations: 83.83 kB / 0.5721 GB, free: 25.24 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.0003724/0.3804, allocations: 303.4 kB / 0.5724 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3807, allocations: 168 kB / 0.5725 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3807, allocations: 0 / 0.5725 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3807, allocations: 0 / 0.5725 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.381, allocations: 464.7 kB / 0.573 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.3816, allocations: 0.4979 MB / 0.5735 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3818, allocations: 0.7743 MB / 0.5742 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.3819, allocations: 4 kB / 0.5742 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3819, allocations: 9.562 kB / 0.5742 GB, free: 23.49 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3819, allocations: 0 / 0.5742 GB, free: 23.49 MB / 446.1 MB Notification: Performance of Templates: time 0.00663/0.3885, allocations: 3.067 MB / 0.5772 GB, free: 23.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)