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.001115/0.001115, allocations: 102.8 kB / 15.98 MB, free: 6.352 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.001114/0.001114, allocations: 196.6 kB / 16.91 MB, free: 6.191 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.572/1.572, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.731/1.731, allocations: 292.3 MB / 0.5492 GB, free: 17.63 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.001347/0.001347, allocations: 67.84 kB / 0.6716 GB, free: 6.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 114.6 MB / 0.7835 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002756/0.2779, allocations: 1.458 MB / 0.7849 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2802, allocations: 1.912 MB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2803, allocations: 0 / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.2814, allocations: 369.7 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.2815, allocations: 19.91 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.2815, allocations: 3.938 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.2817, allocations: 127.1 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.2818, allocations: 17.5 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.2819, allocations: 43.8 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.282, allocations: 71.7 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.282, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.2824, allocations: 179.9 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.2825, allocations: 31.89 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.5053/0.7878, allocations: 66.78 kB / 0.7877 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.7883, allocations: 215.2 kB / 0.7879 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7883, allocations: 3.422 kB / 0.7879 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7883, allocations: 0 / 0.7879 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7883, allocations: 0 / 0.7879 GB, free: 45.97 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.0006656/0.789, allocations: 486.9 kB / 0.7884 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.789, allocations: 14.89 kB / 0.7884 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.7892, allocations: 98.03 kB / 0.7885 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.7894, allocations: 296.2 kB / 0.7888 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.7894, allocations: 153.6 kB / 0.7889 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.7894, allocations: 160 kB / 0.7891 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.719e-05/0.7895, allocations: 107 kB / 0.7892 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.7895, allocations: 75.28 kB / 0.7892 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.7896, allocations: 153.2 kB / 0.7894 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.7896, allocations: 151.6 kB / 0.7895 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.7896, allocations: 155.1 kB / 0.7897 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.7899, allocations: 0.5008 MB / 0.7902 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.7899, allocations: 168.9 kB / 0.7903 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.79, allocations: 84.36 kB / 0.7904 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.79, allocations: 76.41 kB / 0.7905 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.79, allocations: 113.1 kB / 0.7906 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.79, allocations: 0 / 0.7906 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001594/0.7902, allocations: 51.25 kB / 0.7906 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.7902, allocations: 126.7 kB / 0.7907 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.7905, allocations: 321.3 kB / 0.7911 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.7905, allocations: 33.02 kB / 0.7911 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.7906, allocations: 118.1 kB / 0.7912 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.7906, allocations: 0.7031 kB / 0.7912 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.7906, allocations: 60.2 kB / 0.7913 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.7907, allocations: 330.2 kB / 0.7916 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.7908, allocations: 69.73 kB / 0.7916 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.7909, allocations: 121.4 kB / 0.7918 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.7911, allocations: 211.2 kB / 0.792 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7911, allocations: 0 / 0.792 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000362/0.7915, allocations: 238.8 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7915, allocations: 8.844 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7915, allocations: 3.5 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7915, allocations: 2.438 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-06/0.7915, allocations: 6.328 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.7915, allocations: 0.5312 kB / 0.7922 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.7917, allocations: 31.38 kB / 0.7922 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7917, allocations: 6.531 kB / 0.7922 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.0001993/0.7919, allocations: 230.2 kB / 0.7925 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.7919, allocations: 121.8 kB / 0.7926 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.792, allocations: 115.3 kB / 0.7927 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.792, allocations: 185.9 kB / 0.7929 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/0.792, allocations: 177.4 kB / 0.793 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.7921, allocations: 183.4 kB / 0.7932 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.7922, allocations: 451 kB / 0.7936 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.7923, allocations: 108.5 kB / 0.7937 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.7923, allocations: 102.2 kB / 0.7938 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.7923, allocations: 184.8 kB / 0.794 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.7924, allocations: 186.8 kB / 0.7942 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-05/0.7924, allocations: 180.4 kB / 0.7944 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.799e-05/0.7924, allocations: 179.4 kB / 0.7945 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.7925, allocations: 321 kB / 0.7948 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.7926, allocations: 209.4 kB / 0.795 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.7926, allocations: 179.5 kB / 0.7952 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.7927, allocations: 105.1 kB / 0.7953 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.7928, allocations: 185.3 kB / 0.7955 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.7928, allocations: 106 kB / 0.7956 GB, free: 39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001547/0.7929, allocations: 216.2 kB / 0.7958 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7929, allocations: 0.5 kB / 0.7958 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003405/0.7933, allocations: 64.88 kB / 0.7959 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.0003131/0.7936, allocations: 269.8 kB / 0.7961 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.7938, allocations: 101 kB / 0.7962 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7938, allocations: 2.625 kB / 0.7962 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.7938, allocations: 2.406 kB / 0.7962 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.0003033/0.7941, allocations: 467 kB / 0.7967 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.7946, allocations: 435.2 kB / 0.7971 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.7947, allocations: 0.7395 MB / 0.7978 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.7948, allocations: 14.06 kB / 0.7978 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7948, allocations: 0 / 0.7978 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003691/0.7985, allocations: 2.342 MB / 0.8001 GB, free: 37.13 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)