Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001221/0.001221, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001301/0.001301, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.6/1.6, 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.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001457/0.001457, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002987/0.2684, allocations: 1.407 MB / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4674/0.7358, allocations: 2.659 MB / 0.788 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.7359, allocations: 0 / 0.788 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.738, allocations: 0.5922 MB / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.738, allocations: 15.48 kB / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/0.738, allocations: 0 / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.7383, allocations: 156.7 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.7384, allocations: 37.33 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.7385, allocations: 56.61 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.7386, allocations: 84.12 kB / 0.7889 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.7386, allocations: 2.625 kB / 0.7889 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.7397, allocations: 466.8 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.7397, allocations: 36.33 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.7399, allocations: 97.47 kB / 0.7895 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.7405, allocations: 439.6 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7405, allocations: 2.625 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7405, allocations: 0.5938 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7405, allocations: 0 / 0.7899 GB, free: 45.82 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.0006849/0.7412, allocations: 0.5492 MB / 0.7904 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.7412, allocations: 10.12 kB / 0.7905 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.7414, allocations: 103.6 kB / 0.7906 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.7416, allocations: 303.6 kB / 0.7908 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.7416, allocations: 156.7 kB / 0.791 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.7417, allocations: 153.6 kB / 0.7911 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.7417, allocations: 101.5 kB / 0.7912 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.7417, allocations: 75.47 kB / 0.7913 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.7418, allocations: 162.9 kB / 0.7915 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.7418, allocations: 151.2 kB / 0.7916 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.7418, allocations: 152.8 kB / 0.7918 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.7421, allocations: 0.5309 MB / 0.7923 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.859e-05/0.7422, allocations: 170.4 kB / 0.7924 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.7422, allocations: 85.39 kB / 0.7925 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7422, allocations: 76.16 kB / 0.7926 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7423, allocations: 113.8 kB / 0.7927 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7423, allocations: 0 / 0.7927 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001832/0.7425, allocations: 64.72 kB / 0.7928 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.7425, allocations: 127.7 kB / 0.7929 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.7429, allocations: 424.9 kB / 0.7933 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.7429, allocations: 32.67 kB / 0.7933 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.743, allocations: 134.8 kB / 0.7934 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.743, allocations: 0 / 0.7934 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.7431, allocations: 91.45 kB / 0.7935 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.7432, allocations: 339.6 kB / 0.7939 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.7433, allocations: 98.02 kB / 0.794 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.7435, allocations: 164.7 kB / 0.7941 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.7438, allocations: 307.3 kB / 0.7944 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7438, allocations: 0 / 0.7944 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004591/0.7443, allocations: 334.3 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7443, allocations: 7.469 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7443, allocations: 3.938 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7443, allocations: 3.938 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.7443, allocations: 3.969 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7443, allocations: 7.375 kB / 0.7947 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.7445, allocations: 43.19 kB / 0.7948 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.7445, allocations: 6.578 kB / 0.7948 GB, free: 42.18 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.0002135/0.7447, allocations: 239.5 kB / 0.795 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.7448, allocations: 124.1 kB / 0.7951 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.7448, allocations: 129.5 kB / 0.7953 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.7448, allocations: 181.3 kB / 0.7954 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/0.7449, allocations: 178.9 kB / 0.7956 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.7449, allocations: 184.4 kB / 0.7958 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.7451, allocations: 475.7 kB / 0.7962 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/0.7452, allocations: 103.8 kB / 0.7963 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.7452, allocations: 108.7 kB / 0.7964 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.169e-05/0.7452, allocations: 190.6 kB / 0.7966 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.7453, allocations: 181.4 kB / 0.7968 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.86e-05/0.7453, allocations: 179.5 kB / 0.797 GB, free: 40 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-05/0.7453, allocations: 176.3 kB / 0.7971 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.329e-05/0.7454, allocations: 327.8 kB / 0.7974 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.7455, allocations: 210.7 kB / 0.7976 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.7455, allocations: 183.7 kB / 0.7978 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.7456, allocations: 108.2 kB / 0.7979 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.7457, allocations: 185.8 kB / 0.7981 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.7457, allocations: 104.5 kB / 0.7982 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002128/0.7459, allocations: 276.7 kB / 0.7985 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7459, allocations: 0 / 0.7985 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003997/0.7463, allocations: 87.03 kB / 0.7985 GB, free: 38.61 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.0003798/0.7467, allocations: 306 kB / 0.7988 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.747, allocations: 168.2 kB / 0.799 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.747, allocations: 4.438 kB / 0.799 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.747, allocations: 0 / 0.799 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.7474, allocations: 460.4 kB / 0.7994 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.7479, allocations: 0.5234 MB / 0.8 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.7481, allocations: 0.7681 MB / 0.8007 GB, free: 36.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.7482, allocations: 10.81 kB / 0.8007 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7482, allocations: 5.875 kB / 0.8007 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.00528/0.7535, allocations: 3.14 MB / 0.8038 GB, free: 36.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)