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.001207/0.001207, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001182/0.001182, allocations: 196 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.34/1.34, 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.7302/0.7302, allocations: 115.1 MB / 407 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.83 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002896/0.3417, allocations: 1.406 MB / 0.5589 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3448, allocations: 2.667 MB / 0.5616 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.3448, allocations: 1.219 kB / 0.5616 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3467, allocations: 0.5796 MB / 0.5621 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.3468, allocations: 24.36 kB / 0.5621 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.3468, allocations: 0 / 0.5621 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.347, allocations: 158.5 kB / 0.5623 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.3471, allocations: 34.47 kB / 0.5623 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.3472, allocations: 54.89 kB / 0.5624 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3473, allocations: 80.89 kB / 0.5625 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3474, allocations: 2.5 kB / 0.5625 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.3486, allocations: 471.3 kB / 0.5629 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.3487, allocations: 38.42 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3488, allocations: 96.11 kB / 0.563 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.3496, allocations: 441.9 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3496, allocations: 1.812 kB / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3496, allocations: 0 / 0.5635 GB, free: 32.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3496, allocations: 1.469 kB / 0.5635 GB, free: 32.97 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.0007859/0.3504, allocations: 0.5522 MB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3504, allocations: 9.781 kB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.3506, allocations: 105 kB / 0.5641 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3508, allocations: 305.7 kB / 0.5644 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3509, allocations: 152.5 kB / 0.5645 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3509, allocations: 159 kB / 0.5647 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.943e-05/0.3509, allocations: 103.3 kB / 0.5648 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.351, allocations: 77.56 kB / 0.5649 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.351, allocations: 155.2 kB / 0.565 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.351, allocations: 152 kB / 0.5652 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.351, allocations: 159.2 kB / 0.5653 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.3514, allocations: 0.533 MB / 0.5658 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.3514, allocations: 171.9 kB / 0.566 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.3514, allocations: 85.78 kB / 0.5661 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3515, allocations: 76.5 kB / 0.5662 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.3515, allocations: 112.8 kB / 0.5663 GB, free: 30.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3515, allocations: 0 / 0.5663 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000178/0.3517, allocations: 55.47 kB / 0.5663 GB, free: 30.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3517, allocations: 128.3 kB / 0.5664 GB, free: 30.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.3522, allocations: 441.6 kB / 0.5669 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.3522, allocations: 26.22 kB / 0.5669 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.3522, allocations: 131.2 kB / 0.567 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3523, allocations: 1.031 kB / 0.567 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.3523, allocations: 89.83 kB / 0.5671 GB, free: 29.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.3524, allocations: 340.2 kB / 0.5674 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3525, allocations: 101.2 kB / 0.5675 GB, free: 29.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3527, allocations: 166.5 kB / 0.5677 GB, free: 29.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.353, allocations: 302.7 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.353, allocations: 0 / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004823/0.3535, allocations: 328.2 kB / 0.5683 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3535, allocations: 6.547 kB / 0.5683 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3535, allocations: 9.812 kB / 0.5683 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3536, allocations: 2.812 kB / 0.5683 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.3536, allocations: 2.891 kB / 0.5683 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3536, allocations: 7.125 kB / 0.5683 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3537, allocations: 45.22 kB / 0.5683 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3538, allocations: 4.375 kB / 0.5684 GB, free: 28.81 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.0001967/0.354, allocations: 247 kB / 0.5686 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.354, allocations: 121.1 kB / 0.5687 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3541, allocations: 124.2 kB / 0.5688 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.3541, allocations: 182.6 kB / 0.569 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.3541, allocations: 178.2 kB / 0.5692 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.3542, allocations: 182.7 kB / 0.5693 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3544, allocations: 474 kB / 0.5698 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.3544, allocations: 103.9 kB / 0.5699 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.3544, allocations: 106.6 kB / 0.57 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.811e-05/0.3545, allocations: 179.5 kB / 0.5702 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.3545, allocations: 190.3 kB / 0.5703 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-05/0.3545, allocations: 177.6 kB / 0.5705 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-05/0.3545, allocations: 184.2 kB / 0.5707 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.849e-05/0.3546, allocations: 332.3 kB / 0.571 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3547, allocations: 204 kB / 0.5712 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.3548, allocations: 184.7 kB / 0.5714 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3549, allocations: 106.9 kB / 0.5715 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.3549, allocations: 182.2 kB / 0.5717 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3549, allocations: 102.9 kB / 0.5718 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.3552, allocations: 280.4 kB / 0.572 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3552, allocations: 2.062 kB / 0.572 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.3556, allocations: 83.14 kB / 0.5721 GB, free: 25.14 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.0003492/0.356, allocations: 311.5 kB / 0.5724 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3562, allocations: 167.5 kB / 0.5726 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3562, allocations: 0 / 0.5726 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.3562, allocations: 0 / 0.5726 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3566, allocations: 467.4 kB / 0.573 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.3572, allocations: 0.4954 MB / 0.5735 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3574, allocations: 0.7747 MB / 0.5742 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.3574, allocations: 3.391 kB / 0.5742 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.3574, allocations: 13.97 kB / 0.5743 GB, free: 23.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3574, allocations: 0.6562 kB / 0.5743 GB, free: 23.38 MB / 446.1 MB Notification: Performance of Templates: time 0.006859/0.3643, allocations: 3.056 MB / 0.5772 GB, free: 23.07 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)