Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001324/0.001324, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001307/0.001307, allocations: 183.7 kB / 17.22 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 292.3 MB / 0.5495 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003555/0.3298, allocations: 1.389 MB / 0.7854 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3327, allocations: 1.938 MB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.3328, allocations: 0 / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.3345, allocations: 385.3 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.3345, allocations: 27.84 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-06/0.3346, allocations: 0 / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5116/0.8462, allocations: 116.6 kB / 0.7878 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.8464, allocations: 18.53 kB / 0.7878 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.367e-05/0.8465, allocations: 42.38 kB / 0.7879 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.8467, allocations: 63.06 kB / 0.7879 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.8467, allocations: 2.719 kB / 0.7879 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009146/0.8476, allocations: 182.8 kB / 0.7881 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.8477, allocations: 33.36 kB / 0.7882 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.8478, allocations: 70.7 kB / 0.7882 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.8483, allocations: 289.2 kB / 0.7885 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8483, allocations: 3.062 kB / 0.7885 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8484, allocations: 5.625 kB / 0.7885 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8484, allocations: 0 / 0.7885 GB, free: 45.98 MB / 0.6544 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.0006622/0.849, allocations: 485.1 kB / 0.789 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.8491, allocations: 11.81 kB / 0.789 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.8492, allocations: 96.41 kB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.8494, allocations: 296.2 kB / 0.7894 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.8495, allocations: 155.9 kB / 0.7895 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.8495, allocations: 155.4 kB / 0.7897 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.904e-05/0.8496, allocations: 111.8 kB / 0.7898 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.8496, allocations: 75.28 kB / 0.7898 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.8497, allocations: 156.4 kB / 0.79 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.8497, allocations: 154.6 kB / 0.7901 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.8497, allocations: 152.6 kB / 0.7903 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.85, allocations: 0.4979 MB / 0.7908 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.8501, allocations: 173.4 kB / 0.7909 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.8501, allocations: 81.73 kB / 0.791 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8501, allocations: 78.7 kB / 0.7911 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8502, allocations: 114.8 kB / 0.7912 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.8502, allocations: 1.172 kB / 0.7912 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001808/0.8503, allocations: 48.58 kB / 0.7912 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.8504, allocations: 130.4 kB / 0.7914 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.8507, allocations: 322 kB / 0.7917 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.8507, allocations: 25.7 kB / 0.7917 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.8508, allocations: 121.6 kB / 0.7918 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.8508, allocations: 0 / 0.7918 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.8509, allocations: 64.05 kB / 0.7919 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.8509, allocations: 331.7 kB / 0.7922 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.851, allocations: 64.97 kB / 0.7922 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.8511, allocations: 117 kB / 0.7924 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.8514, allocations: 214.8 kB / 0.7926 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8514, allocations: 0 / 0.7926 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003995/0.8518, allocations: 232.9 kB / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8518, allocations: 15.55 kB / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8518, allocations: 0 / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8518, allocations: 2.625 kB / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.8518, allocations: 3.906 kB / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.8519, allocations: 6.094 kB / 0.7928 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.852, allocations: 28.78 kB / 0.7928 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.852, allocations: 9.156 kB / 0.7928 GB, free: 42.43 MB / 0.6544 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.0002291/0.8522, allocations: 222.4 kB / 0.7931 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.8523, allocations: 124.7 kB / 0.7932 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.8523, allocations: 113.6 kB / 0.7933 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.8524, allocations: 191 kB / 0.7935 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.8524, allocations: 178.9 kB / 0.7936 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/0.8524, allocations: 182.9 kB / 0.7938 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.8526, allocations: 449.1 kB / 0.7942 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.8527, allocations: 107.6 kB / 0.7943 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.8527, allocations: 106.4 kB / 0.7944 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-05/0.8527, allocations: 187.3 kB / 0.7946 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.8528, allocations: 179.8 kB / 0.7948 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-05/0.8528, allocations: 182.2 kB / 0.795 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.285e-05/0.8529, allocations: 183.6 kB / 0.7951 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.853, allocations: 319.5 kB / 0.7955 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.853, allocations: 202.8 kB / 0.7956 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.8531, allocations: 182.8 kB / 0.7958 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.8532, allocations: 103.8 kB / 0.7959 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.8533, allocations: 181.9 kB / 0.7961 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8533, allocations: 108.7 kB / 0.7962 GB, free: 39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001794/0.8535, allocations: 211.9 kB / 0.7964 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8535, allocations: 1.094 kB / 0.7964 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003934/0.8539, allocations: 66.75 kB / 0.7965 GB, free: 38.91 MB / 0.6544 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.0003271/0.8542, allocations: 271.6 kB / 0.7967 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.8544, allocations: 99.44 kB / 0.7968 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8544, allocations: 0 / 0.7968 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.8544, allocations: 3.375 kB / 0.7968 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.8547, allocations: 467.8 kB / 0.7973 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.8552, allocations: 386.3 kB / 0.7976 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.8554, allocations: 0.7444 MB / 0.7984 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.8554, allocations: 3.5 kB / 0.7984 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.8554, allocations: 7.438 kB / 0.7984 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8554, allocations: 0 / 0.7984 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.005092/0.8605, allocations: 2.297 MB / 0.8006 GB, free: 37.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)