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.001291/0.001291, allocations: 105.1 kB / 16.64 MB, free: 6.816 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.001306/0.001306, allocations: 186 kB / 17.57 MB, free: 5.922 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.414/1.414, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8131/0.8131, allocations: 125.4 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.89 kB / 0.4943 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3741, allocations: 78.56 MB / 0.571 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002482/0.3766, allocations: 1.455 MB / 0.5724 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3785, allocations: 1.912 MB / 0.5743 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.3786, allocations: 0 / 0.5743 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3796, allocations: 377.9 kB / 0.5747 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.3797, allocations: 15.41 kB / 0.5747 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.499e-06/0.3797, allocations: 5.156 kB / 0.5747 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3799, allocations: 121.7 kB / 0.5748 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.175e-05/0.38, allocations: 20.06 kB / 0.5748 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.38, allocations: 41.72 kB / 0.5749 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3801, allocations: 68.8 kB / 0.5749 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3802, allocations: 2.531 kB / 0.5749 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.3806, allocations: 177.8 kB / 0.5751 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.3807, allocations: 32.72 kB / 0.5751 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.3808, allocations: 79.39 kB / 0.5752 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.381, allocations: 211.5 kB / 0.5754 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.381, allocations: 0.5625 kB / 0.5754 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3811, allocations: 0 / 0.5754 GB, free: 28.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3811, allocations: 0 / 0.5754 GB, free: 28.66 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.0006073/0.3817, allocations: 492.4 kB / 0.5759 GB, free: 28.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3817, allocations: 9.25 kB / 0.5759 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3819, allocations: 95.31 kB / 0.576 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.382, allocations: 292.9 kB / 0.5762 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.3821, allocations: 156.9 kB / 0.5764 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3821, allocations: 154.4 kB / 0.5765 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.457e-05/0.3822, allocations: 112.2 kB / 0.5767 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3822, allocations: 76.41 kB / 0.5767 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3822, allocations: 150.6 kB / 0.5769 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3822, allocations: 151.8 kB / 0.577 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.3823, allocations: 159 kB / 0.5772 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.3825, allocations: 0.4996 MB / 0.5777 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.808e-05/0.3826, allocations: 174.9 kB / 0.5778 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.3826, allocations: 81.73 kB / 0.5779 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3826, allocations: 75.81 kB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3826, allocations: 113.6 kB / 0.5781 GB, free: 25.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3826, allocations: 0 / 0.5781 GB, free: 25.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001631/0.3828, allocations: 49.75 kB / 0.5781 GB, free: 25.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3829, allocations: 128.3 kB / 0.5782 GB, free: 25.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3832, allocations: 327.2 kB / 0.5786 GB, free: 25.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.3832, allocations: 31.64 kB / 0.5786 GB, free: 25.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.3832, allocations: 118.3 kB / 0.5787 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.3833, allocations: 0.5938 kB / 0.5787 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.3833, allocations: 61.17 kB / 0.5788 GB, free: 25.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.3834, allocations: 332.4 kB / 0.5791 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.3835, allocations: 63.64 kB / 0.5791 GB, free: 25.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3836, allocations: 115.9 kB / 0.5792 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3838, allocations: 211.5 kB / 0.5795 GB, free: 24.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3838, allocations: 0.5625 kB / 0.5795 GB, free: 24.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003926/0.3842, allocations: 235.9 kB / 0.5797 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3842, allocations: 7.375 kB / 0.5797 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3842, allocations: 2.125 kB / 0.5797 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3843, allocations: 2.25 kB / 0.5797 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/0.3843, allocations: 3.5 kB / 0.5797 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3843, allocations: 9.906 kB / 0.5797 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3844, allocations: 33.73 kB / 0.5797 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3844, allocations: 4.781 kB / 0.5797 GB, free: 24.75 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.0001784/0.3846, allocations: 221.9 kB / 0.5799 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3847, allocations: 120.4 kB / 0.5801 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3847, allocations: 115.5 kB / 0.5802 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.3847, allocations: 179 kB / 0.5803 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/0.3848, allocations: 187.5 kB / 0.5805 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.3848, allocations: 177 kB / 0.5807 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.385, allocations: 454.1 kB / 0.5811 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.385, allocations: 107.6 kB / 0.5812 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.385, allocations: 106.1 kB / 0.5813 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/0.385, allocations: 183.2 kB / 0.5815 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3851, allocations: 179.5 kB / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.3851, allocations: 178.3 kB / 0.5818 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.183e-05/0.3851, allocations: 187.6 kB / 0.582 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.3852, allocations: 315.3 kB / 0.5823 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3852, allocations: 202 kB / 0.5825 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.3853, allocations: 188.4 kB / 0.5827 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.3854, allocations: 111 kB / 0.5828 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3854, allocations: 178.8 kB / 0.583 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3855, allocations: 107 kB / 0.5831 GB, free: 21.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3856, allocations: 220 kB / 0.5833 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3856, allocations: 0 / 0.5833 GB, free: 21.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.386, allocations: 64.94 kB / 0.5833 GB, free: 21.12 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.0002959/0.3863, allocations: 277.9 kB / 0.5836 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3865, allocations: 101.9 kB / 0.5837 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3865, allocations: 0 / 0.5837 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.3865, allocations: 0.875 kB / 0.5837 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.3868, allocations: 462.7 kB / 0.5842 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.3873, allocations: 457.2 kB / 0.5846 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3875, allocations: 0.7376 MB / 0.5853 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3875, allocations: 10.91 kB / 0.5853 GB, free: 19.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3875, allocations: 1.906 kB / 0.5853 GB, free: 19.4 MB / 446.1 MB Notification: Performance of Templates: time 0.004184/0.3917, allocations: 2.339 MB / 0.5876 GB, free: 18.53 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)