Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001539/0.001539, allocations: 109.6 kB / 16.27 MB, free: 5.984 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.001596/0.001596, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002274, allocations: 282.4 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 93.17 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1746, allocations: 86.97 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002731/0.1773, allocations: 1.395 MB / 0.6822 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1797, allocations: 1.924 MB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.1797, allocations: 0 / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.181, allocations: 400.6 kB / 0.6845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.1811, allocations: 19.91 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.558e-06/0.1811, allocations: 0 / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1813, allocations: 119.1 kB / 0.6846 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.1814, allocations: 21.48 kB / 0.6846 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.1815, allocations: 43.86 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1816, allocations: 63.7 kB / 0.6847 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1816, allocations: 4 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.1822, allocations: 179.9 kB / 0.6849 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1823, allocations: 35.84 kB / 0.6849 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.1823, allocations: 67.61 kB / 0.685 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1828, allocations: 291.1 kB / 0.6853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1829, allocations: 0 / 0.6853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1829, allocations: 0 / 0.6853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1829, allocations: 0 / 0.6853 GB, free: 3.645 MB / 494.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.0007336/0.1836, allocations: 490.7 kB / 0.6857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1837, allocations: 8.031 kB / 0.6857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.1838, allocations: 107.9 kB / 0.6858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1841, allocations: 287.3 kB / 0.6861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.1841, allocations: 158.9 kB / 0.6863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.1842, allocations: 150.9 kB / 0.6864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.1843, allocations: 109.1 kB / 0.6865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.1843, allocations: 83.16 kB / 0.6866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.1844, allocations: 154.6 kB / 0.6867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/0.1844, allocations: 154.6 kB / 0.6869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.1845, allocations: 158.5 kB / 0.687 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.1848, allocations: 0.5017 MB / 0.6875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.1849, allocations: 169.1 kB / 0.6877 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.1849, allocations: 80.14 kB / 0.6878 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.185, allocations: 75.28 kB / 0.6878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.185, allocations: 117.8 kB / 0.688 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.185, allocations: 0 / 0.688 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001853/0.1852, allocations: 57.36 kB / 0.688 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1853, allocations: 130.7 kB / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1856, allocations: 314.4 kB / 0.6884 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1856, allocations: 29.7 kB / 0.6885 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.1857, allocations: 112.4 kB / 0.6886 GB, free: 52 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.1857, allocations: 4 kB / 0.6886 GB, free: 48 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2769/0.4626, allocations: 56.92 kB / 0.6886 GB, free: 18.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.4627, allocations: 330 kB / 0.6889 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4629, allocations: 62.53 kB / 0.689 GB, free: 18.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.4631, allocations: 128.5 kB / 0.6891 GB, free: 18.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.4634, allocations: 209 kB / 0.6893 GB, free: 18.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.4634, allocations: 0.5938 kB / 0.6893 GB, free: 18.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005769/0.464, allocations: 234.2 kB / 0.6895 GB, free: 18.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.464, allocations: 8.344 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.464, allocations: 2.938 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.464, allocations: 2.562 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.464, allocations: 4.062 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4641, allocations: 6.516 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.4642, allocations: 30.33 kB / 0.6896 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4642, allocations: 4.656 kB / 0.6896 GB, free: 18.11 MB / 494.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.0002007/0.4644, allocations: 227.8 kB / 0.6898 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.4645, allocations: 115.8 kB / 0.6899 GB, free: 17.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.4646, allocations: 115.9 kB / 0.69 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.4646, allocations: 178.1 kB / 0.6902 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/0.4646, allocations: 186.8 kB / 0.6904 GB, free: 17.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/0.4647, allocations: 181.5 kB / 0.6906 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.4649, allocations: 456.6 kB / 0.691 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.4649, allocations: 109.9 kB / 0.6911 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.465, allocations: 102.1 kB / 0.6912 GB, free: 16.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-05/0.465, allocations: 182.1 kB / 0.6914 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.465, allocations: 178.1 kB / 0.6915 GB, free: 16.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-05/0.4651, allocations: 184.8 kB / 0.6917 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.002e-05/0.4651, allocations: 187.8 kB / 0.6919 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4652, allocations: 321.9 kB / 0.6922 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.4653, allocations: 196.5 kB / 0.6924 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.4654, allocations: 182.8 kB / 0.6926 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4655, allocations: 107 kB / 0.6927 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.4655, allocations: 183.2 kB / 0.6928 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.4656, allocations: 110 kB / 0.6929 GB, free: 14.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.4658, allocations: 213 kB / 0.6932 GB, free: 14.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4658, allocations: 2.156 kB / 0.6932 GB, free: 14.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.4662, allocations: 65.64 kB / 0.6932 GB, free: 14.57 MB / 494.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.0003666/0.4666, allocations: 275.9 kB / 0.6935 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4668, allocations: 103.5 kB / 0.6936 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4668, allocations: 0 / 0.6936 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-06/0.4668, allocations: 0.5312 kB / 0.6936 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4672, allocations: 461.3 kB / 0.694 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.4677, allocations: 426.5 kB / 0.6944 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.4679, allocations: 0.7406 MB / 0.6951 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.4679, allocations: 12.59 kB / 0.6952 GB, free: 12.98 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4679, allocations: 0 / 0.6952 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Templates: time 0.005465/0.4734, allocations: 2.342 MB / 0.6974 GB, free: 12.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)