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.0009508/0.0009512, allocations: 89.03 kB / 16.67 MB, free: 6.594 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.0009993/0.0009993, allocations: 181 kB / 17.58 MB, free: 6.188 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.478/1.478, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7728/0.7728, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3749, allocations: 77.52 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001429/0.3764, allocations: 1.116 MB / 0.5617 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3784, allocations: 1.879 MB / 0.5635 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3784, allocations: 1.094 kB / 0.5635 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3795, allocations: 369.4 kB / 0.5639 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.3795, allocations: 16.83 kB / 0.5639 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.3795, allocations: 0 / 0.5639 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3798, allocations: 139.5 kB / 0.564 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.3799, allocations: 23.31 kB / 0.564 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.3799, allocations: 47 kB / 0.5641 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3801, allocations: 61.3 kB / 0.5641 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3801, allocations: 3.156 kB / 0.5641 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.3805, allocations: 178 kB / 0.5643 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.3806, allocations: 35.25 kB / 0.5643 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.3807, allocations: 98.33 kB / 0.5644 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.381, allocations: 204.4 kB / 0.5646 GB, free: 32.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.381, allocations: 1.375 kB / 0.5646 GB, free: 32.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.381, allocations: 1.25 kB / 0.5646 GB, free: 32.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.381, allocations: 0 / 0.5646 GB, free: 32.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.000569/0.3816, allocations: 477.2 kB / 0.5651 GB, free: 32.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3816, allocations: 9.344 kB / 0.5651 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3818, allocations: 96.28 kB / 0.5652 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.3819, allocations: 294.6 kB / 0.5655 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.382, allocations: 153.7 kB / 0.5656 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.382, allocations: 155.2 kB / 0.5658 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.822e-05/0.3821, allocations: 113 kB / 0.5659 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3821, allocations: 78.09 kB / 0.5659 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3821, allocations: 155.9 kB / 0.5661 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.3821, allocations: 154.6 kB / 0.5662 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.3822, allocations: 152.7 kB / 0.5664 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.3824, allocations: 0.5037 MB / 0.5669 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.3825, allocations: 170.3 kB / 0.567 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.3825, allocations: 80.14 kB / 0.5671 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3825, allocations: 77.06 kB / 0.5672 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3826, allocations: 111.6 kB / 0.5673 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3826, allocations: 0.5625 kB / 0.5673 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001573/0.3827, allocations: 47.23 kB / 0.5673 GB, free: 30.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3828, allocations: 132 kB / 0.5675 GB, free: 30.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.3831, allocations: 323.9 kB / 0.5678 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3831, allocations: 26.73 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3832, allocations: 120.5 kB / 0.5679 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3832, allocations: 1.625 kB / 0.5679 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3832, allocations: 44.73 kB / 0.568 GB, free: 29.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.3833, allocations: 332.3 kB / 0.5683 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.3834, allocations: 71.17 kB / 0.5684 GB, free: 29.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3835, allocations: 120.8 kB / 0.5685 GB, free: 29.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3837, allocations: 214.6 kB / 0.5687 GB, free: 29.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3837, allocations: 1.375 kB / 0.5687 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004131/0.3842, allocations: 231.6 kB / 0.5689 GB, free: 29.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3842, allocations: 6.656 kB / 0.5689 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3842, allocations: 1.219 kB / 0.5689 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3842, allocations: 9.203 kB / 0.5689 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.3842, allocations: 1.703 kB / 0.5689 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3842, allocations: 6.953 kB / 0.5689 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3844, allocations: 34.62 kB / 0.569 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3844, allocations: 3.922 kB / 0.569 GB, free: 29.1 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.0001508/0.3845, allocations: 227.2 kB / 0.5692 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.3846, allocations: 121.2 kB / 0.5693 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.3846, allocations: 115.8 kB / 0.5694 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.3847, allocations: 177.2 kB / 0.5696 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.3847, allocations: 187.7 kB / 0.5697 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.3847, allocations: 178.8 kB / 0.5699 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3849, allocations: 449.8 kB / 0.5703 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.3849, allocations: 105.5 kB / 0.5704 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.385, allocations: 116.1 kB / 0.5706 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.385, allocations: 185.4 kB / 0.5707 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.385, allocations: 178.2 kB / 0.5709 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.385, allocations: 177.7 kB / 0.5711 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-05/0.3851, allocations: 186 kB / 0.5712 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.459e-05/0.3852, allocations: 320 kB / 0.5716 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.3852, allocations: 201.8 kB / 0.5717 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.3853, allocations: 184.1 kB / 0.5719 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.3854, allocations: 106.7 kB / 0.572 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3854, allocations: 179.4 kB / 0.5722 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3854, allocations: 106.8 kB / 0.5723 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.3856, allocations: 215.4 kB / 0.5725 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3856, allocations: 1.156 kB / 0.5725 GB, free: 25.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000361/0.386, allocations: 65.42 kB / 0.5726 GB, free: 25.47 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.0002727/0.3863, allocations: 271.1 kB / 0.5728 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.3864, allocations: 108.4 kB / 0.5729 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3865, allocations: 0 / 0.5729 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3865, allocations: 1.094 kB / 0.5729 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3868, allocations: 0.537 MB / 0.5735 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.3873, allocations: 455.5 kB / 0.5739 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.3874, allocations: 0.7387 MB / 0.5746 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.3875, allocations: 9.875 kB / 0.5746 GB, free: 23.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3875, allocations: 0 / 0.5746 GB, free: 23.68 MB / 446.1 MB Notification: Performance of Templates: time 0.004484/0.392, allocations: 2.316 MB / 0.5769 GB, free: 23.48 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)