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.001569/0.001569, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.002075/0.002075, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 290.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.2 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 94.12 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002454/0.1683, allocations: 1.399 MB / 0.6822 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1714, allocations: 2.675 MB / 0.6848 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.1714, allocations: 7.938 kB / 0.6848 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1728, allocations: 0.5782 MB / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.1729, allocations: 23.84 kB / 0.6854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.017e-06/0.1729, allocations: 0 / 0.6854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1731, allocations: 158.9 kB / 0.6856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.1732, allocations: 32.41 kB / 0.6856 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.1733, allocations: 55.75 kB / 0.6857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1734, allocations: 79.58 kB / 0.6857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1734, allocations: 4 kB / 0.6857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.1744, allocations: 467.3 kB / 0.6862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1745, allocations: 35.78 kB / 0.6862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1746, allocations: 99.42 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.1752, allocations: 438.2 kB / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1752, allocations: 0 / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1752, allocations: 3.938 kB / 0.6867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1752, allocations: 0 / 0.6867 GB, free: 2.121 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.0007214/0.1759, allocations: 0.5529 MB / 0.6873 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.176, allocations: 8.031 kB / 0.6873 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1761, allocations: 99.94 kB / 0.6874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1764, allocations: 310.3 kB / 0.6877 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.1764, allocations: 150.9 kB / 0.6878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.1765, allocations: 154.9 kB / 0.688 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.118e-05/0.1766, allocations: 101.5 kB / 0.6881 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1766, allocations: 79.47 kB / 0.6881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.1766, allocations: 158.5 kB / 0.6883 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.1767, allocations: 150.6 kB / 0.6884 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.1768, allocations: 154.5 kB / 0.6886 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2685/0.4453, allocations: 0.53 MB / 0.6891 GB, free: 18.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.4454, allocations: 167.9 kB / 0.6893 GB, free: 18.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.4454, allocations: 81.42 kB / 0.6893 GB, free: 18.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4454, allocations: 75.28 kB / 0.6894 GB, free: 18.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4454, allocations: 112.5 kB / 0.6895 GB, free: 18.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.4454, allocations: 0.7812 kB / 0.6895 GB, free: 18.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002158/0.4457, allocations: 60 kB / 0.6896 GB, free: 18.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.4457, allocations: 127.5 kB / 0.6897 GB, free: 18.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.4462, allocations: 438.2 kB / 0.6901 GB, free: 18.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.4463, allocations: 29.95 kB / 0.6901 GB, free: 18.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.4463, allocations: 132.5 kB / 0.6903 GB, free: 18.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.4463, allocations: 0 / 0.6903 GB, free: 18.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4464, allocations: 90.89 kB / 0.6903 GB, free: 17.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.4465, allocations: 340.5 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4466, allocations: 100.3 kB / 0.6908 GB, free: 17.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4468, allocations: 164.5 kB / 0.6909 GB, free: 17.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.4471, allocations: 305 kB / 0.6912 GB, free: 17.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4471, allocations: 0.875 kB / 0.6912 GB, free: 17.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005346/0.4477, allocations: 330.6 kB / 0.6915 GB, free: 17.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4477, allocations: 6.766 kB / 0.6915 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4477, allocations: 6.797 kB / 0.6915 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4477, allocations: 4.828 kB / 0.6915 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-06/0.4477, allocations: 1.812 kB / 0.6916 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4477, allocations: 6.094 kB / 0.6916 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4479, allocations: 45.75 kB / 0.6916 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4479, allocations: 7.391 kB / 0.6916 GB, free: 17.2 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.0001743/0.4481, allocations: 248.2 kB / 0.6918 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.4481, allocations: 119.8 kB / 0.692 GB, free: 16.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.4482, allocations: 117 kB / 0.6921 GB, free: 16.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.4482, allocations: 183.9 kB / 0.6922 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/0.4482, allocations: 185.7 kB / 0.6924 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.4483, allocations: 182.3 kB / 0.6926 GB, free: 16.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.4485, allocations: 473.8 kB / 0.693 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.4485, allocations: 105.3 kB / 0.6931 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.4485, allocations: 106.4 kB / 0.6933 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.4485, allocations: 178 kB / 0.6934 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.4486, allocations: 185.7 kB / 0.6936 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/0.4486, allocations: 183.7 kB / 0.6938 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-05/0.4486, allocations: 182.1 kB / 0.6939 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.348e-05/0.4487, allocations: 327.7 kB / 0.6943 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.4488, allocations: 207.5 kB / 0.6945 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.4488, allocations: 181.9 kB / 0.6946 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4489, allocations: 104.1 kB / 0.6947 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.449, allocations: 185.4 kB / 0.6949 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.449, allocations: 102.1 kB / 0.695 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.4492, allocations: 280.7 kB / 0.6953 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4492, allocations: 0 / 0.6953 GB, free: 13.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000391/0.4496, allocations: 84.5 kB / 0.6954 GB, free: 13.54 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.0002953/0.4499, allocations: 303.4 kB / 0.6956 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4502, allocations: 169.2 kB / 0.6958 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4502, allocations: 1 kB / 0.6958 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.4502, allocations: 0 / 0.6958 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4505, allocations: 467.9 kB / 0.6962 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.451, allocations: 0.5248 MB / 0.6968 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.4512, allocations: 0.7745 MB / 0.6975 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.4513, allocations: 9.719 kB / 0.6975 GB, free: 11.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4513, allocations: 0 / 0.6975 GB, free: 11.78 MB / 494.1 MB Notification: Performance of Templates: time 0.005671/0.4569, allocations: 3.15 MB / 0.7006 GB, free: 11.47 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)