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.001889/0.001889, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002172/0.002172, allocations: 196.1 kB / 16.14 MB, free: 6.723 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.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 283.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5068 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 98.97 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1719, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002644/0.1746, allocations: 1.475 MB / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1778, allocations: 2.644 MB / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.1778, allocations: 0 / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.1792, allocations: 0.5587 MB / 0.6974 GB, free: 168 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.1792, allocations: 15.91 kB / 0.6974 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.1793, allocations: 0 / 0.6974 GB, free: 152 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1795, allocations: 171 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.1796, allocations: 32.41 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.1797, allocations: 63.55 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1798, allocations: 79.58 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1798, allocations: 4 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1808, allocations: 491.2 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1809, allocations: 35.83 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.181, allocations: 99.36 kB / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.1816, allocations: 394.3 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.1816, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.92e-07/0.1816, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1816, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB 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.0007526/0.1824, allocations: 0.5491 MB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1824, allocations: 8.031 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1826, allocations: 107.8 kB / 0.6993 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1828, allocations: 302.3 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.1829, allocations: 150.9 kB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.183, allocations: 158.9 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.1831, allocations: 105.5 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.1831, allocations: 75.47 kB / 0.7001 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.1832, allocations: 158.4 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.1832, allocations: 154.5 kB / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.1833, allocations: 158.5 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1837, allocations: 0.5367 MB / 0.7011 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.822e-05/0.1838, allocations: 165.1 kB / 0.7012 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.1839, allocations: 80.14 kB / 0.7013 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.1839, allocations: 75.28 kB / 0.7014 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.184, allocations: 113.8 kB / 0.7015 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.184, allocations: 0 / 0.7015 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001839/0.1842, allocations: 57.34 kB / 0.7015 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.1842, allocations: 142.7 kB / 0.7017 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.1847, allocations: 429.2 kB / 0.7021 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1847, allocations: 25.7 kB / 0.7021 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.1848, allocations: 136.4 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.1848, allocations: 4 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.1849, allocations: 85.67 kB / 0.7023 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1851, allocations: 342.8 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1852, allocations: 96.5 kB / 0.7027 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1854, allocations: 169.2 kB / 0.7029 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.1858, allocations: 309.6 kB / 0.7032 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1858, allocations: 0 / 0.7032 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005254/0.1863, allocations: 336.8 kB / 0.7035 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1863, allocations: 4 kB / 0.7035 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1863, allocations: 3.938 kB / 0.7035 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1864, allocations: 4 kB / 0.7035 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.1864, allocations: 4 kB / 0.7035 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1864, allocations: 224 / 0.7035 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1865, allocations: 43.38 kB / 0.7036 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1865, allocations: 4 kB / 0.7036 GB, free: 9.523 MB / 0.4981 GB 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.0002369/0.1868, allocations: 248.9 kB / 0.7038 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.1869, allocations: 124.7 kB / 0.7039 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1869, allocations: 118.9 kB / 0.704 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.629e-05/0.187, allocations: 184.2 kB / 0.7042 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-05/0.1871, allocations: 176.3 kB / 0.7044 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/0.1872, allocations: 180.2 kB / 0.7046 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.1875, allocations: 477.1 kB / 0.705 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.1876, allocations: 105 kB / 0.7051 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.1876, allocations: 104.9 kB / 0.7052 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.26e-05/0.1877, allocations: 180.3 kB / 0.7054 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.1878, allocations: 188.1 kB / 0.7056 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.437e-05/0.1879, allocations: 180.3 kB / 0.7057 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-05/0.1879, allocations: 180.2 kB / 0.7059 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1881, allocations: 331.4 kB / 0.7062 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1882, allocations: 205.7 kB / 0.7064 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1883, allocations: 180.2 kB / 0.7066 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1885, allocations: 105 kB / 0.7067 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.1886, allocations: 180.2 kB / 0.7069 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.1886, allocations: 109 kB / 0.707 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002853/0.1889, allocations: 283.1 kB / 0.7072 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1889, allocations: 3.938 kB / 0.7072 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003686/0.1893, allocations: 79.98 kB / 0.7073 GB, free: 5.457 MB / 0.4981 GB 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.0003463/0.1897, allocations: 290.7 kB / 0.7076 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1899, allocations: 167.8 kB / 0.7078 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1899, allocations: 4.438 kB / 0.7078 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1899, allocations: 4 kB / 0.7078 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.1904, allocations: 0.5238 MB / 0.7083 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.191, allocations: 0.5475 MB / 0.7088 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1914, allocations: 0.7707 MB / 0.7096 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.1914, allocations: 4 kB / 0.7096 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.1915, allocations: 15.44 kB / 0.7096 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1915, allocations: 0 / 0.7096 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.006393/0.1979, allocations: 2.822 MB / 0.7123 GB, free: 268 kB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)