Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001199/0.0012, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.00135/0.00135, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 286.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 96.98 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002289/0.1551, allocations: 1.417 MB / 0.683 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1579, allocations: 2.675 MB / 0.6856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.158, allocations: 0 / 0.6856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.1592, allocations: 0.5788 MB / 0.6862 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.1593, allocations: 19.91 kB / 0.6862 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.1593, allocations: 0 / 0.6862 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1595, allocations: 162.9 kB / 0.6863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.232e-05/0.1596, allocations: 40.28 kB / 0.6864 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.162e-05/0.1597, allocations: 55.73 kB / 0.6864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1598, allocations: 75.58 kB / 0.6865 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1598, allocations: 4 kB / 0.6865 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.1608, allocations: 475.2 kB / 0.687 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.1609, allocations: 35.83 kB / 0.687 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.161, allocations: 95.38 kB / 0.6871 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.1616, allocations: 430.3 kB / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1616, allocations: 0 / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1616, allocations: 0 / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1616, allocations: 0 / 0.6875 GB, free: 1.426 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.0007091/0.1623, allocations: 0.5645 MB / 0.688 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1623, allocations: 8.031 kB / 0.6881 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1625, allocations: 99.94 kB / 0.6881 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1627, allocations: 302.3 kB / 0.6884 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.1628, allocations: 150.9 kB / 0.6886 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.1628, allocations: 154.9 kB / 0.6887 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2773/0.4401, allocations: 109.5 kB / 0.6888 GB, free: 18.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.4402, allocations: 78.78 kB / 0.6889 GB, free: 18.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.4402, allocations: 150.6 kB / 0.6891 GB, free: 18.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.4402, allocations: 153.8 kB / 0.6892 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.4402, allocations: 150.6 kB / 0.6893 GB, free: 18.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.4407, allocations: 0.5295 MB / 0.6899 GB, free: 17.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.4407, allocations: 179.4 kB / 0.69 GB, free: 17.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.4407, allocations: 80.14 kB / 0.6901 GB, free: 17.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4408, allocations: 77.16 kB / 0.6902 GB, free: 17.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4408, allocations: 110.8 kB / 0.6903 GB, free: 17.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.4408, allocations: 0 / 0.6903 GB, free: 17.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002157/0.441, allocations: 52.77 kB / 0.6903 GB, free: 17.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4411, allocations: 131.4 kB / 0.6905 GB, free: 17.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.4415, allocations: 438 kB / 0.6909 GB, free: 16.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.4415, allocations: 25.7 kB / 0.6909 GB, free: 16.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.4416, allocations: 135 kB / 0.691 GB, free: 16.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.4416, allocations: 3.219 kB / 0.691 GB, free: 16.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.4417, allocations: 91.23 kB / 0.6911 GB, free: 16.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.4418, allocations: 337.6 kB / 0.6914 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4419, allocations: 99.92 kB / 0.6915 GB, free: 16.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.442, allocations: 164.8 kB / 0.6917 GB, free: 16.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4423, allocations: 309.2 kB / 0.692 GB, free: 16.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4423, allocations: 2.062 kB / 0.692 GB, free: 16.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004905/0.4428, allocations: 328.9 kB / 0.6923 GB, free: 16.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4429, allocations: 6.188 kB / 0.6923 GB, free: 16.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4429, allocations: 2.547 kB / 0.6923 GB, free: 16.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4429, allocations: 6.969 kB / 0.6923 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/0.4429, allocations: 3.453 kB / 0.6923 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4429, allocations: 2.188 kB / 0.6923 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.4431, allocations: 45.83 kB / 0.6924 GB, free: 16.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4431, allocations: 3.875 kB / 0.6924 GB, free: 16.23 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.0001731/0.4432, allocations: 250.4 kB / 0.6926 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.4433, allocations: 121.6 kB / 0.6927 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.4433, allocations: 120.3 kB / 0.6928 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.4434, allocations: 179.2 kB / 0.693 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/0.4434, allocations: 183 kB / 0.6932 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.4434, allocations: 182.8 kB / 0.6934 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4436, allocations: 479.5 kB / 0.6938 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4436, allocations: 106.5 kB / 0.6939 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.4437, allocations: 101.6 kB / 0.694 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.4437, allocations: 179.5 kB / 0.6942 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4437, allocations: 189 kB / 0.6944 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.4437, allocations: 180.5 kB / 0.6945 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-05/0.4438, allocations: 185.3 kB / 0.6947 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.4438, allocations: 323.8 kB / 0.695 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4439, allocations: 204.5 kB / 0.6952 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.444, allocations: 183.2 kB / 0.6954 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4441, allocations: 108 kB / 0.6955 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.4441, allocations: 182.2 kB / 0.6957 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4441, allocations: 102.5 kB / 0.6958 GB, free: 12.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.4444, allocations: 281.7 kB / 0.696 GB, free: 12.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4444, allocations: 0 / 0.696 GB, free: 12.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.4448, allocations: 96.31 kB / 0.6961 GB, free: 12.56 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.000324/0.4451, allocations: 312.6 kB / 0.6964 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.4453, allocations: 160.3 kB / 0.6966 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4453, allocations: 0.8438 kB / 0.6966 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4454, allocations: 0 / 0.6966 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4456, allocations: 471.3 kB / 0.697 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.4462, allocations: 0.4957 MB / 0.6975 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.4464, allocations: 0.7758 MB / 0.6983 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.159e-05/0.4464, allocations: 3.141 kB / 0.6983 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.4464, allocations: 10.56 kB / 0.6983 GB, free: 10.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4465, allocations: 0 / 0.6983 GB, free: 10.84 MB / 494.1 MB Notification: Performance of Templates: time 0.006808/0.4533, allocations: 3.074 MB / 0.7013 GB, free: 10.54 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)