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.001298/0.001298, allocations: 99.12 kB / 16.36 MB, free: 6.301 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.001074/0.001074, allocations: 192.8 kB / 17.29 MB, free: 5.875 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.896/1.896, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.002333/0.002333, allocations: 67.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2521, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002789/0.255, allocations: 1.408 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4293/0.6843, allocations: 1.92 MB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.6844, allocations: 3.969 kB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.6857, allocations: 381.5 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.6857, allocations: 29.86 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.6857, allocations: 1.719 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.6859, allocations: 116.8 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.686, allocations: 23.11 kB / 0.7886 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.6861, allocations: 43.66 kB / 0.7886 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.6862, allocations: 62.03 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.6862, allocations: 5.938 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.6867, allocations: 180.8 kB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.6867, allocations: 32.98 kB / 0.7889 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.6868, allocations: 70.53 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.6872, allocations: 291.8 kB / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6872, allocations: 0 / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6872, allocations: 2.625 kB / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.6872, allocations: 0.5938 kB / 0.7892 GB, free: 46.52 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.0005947/0.6878, allocations: 493.8 kB / 0.7897 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6879, allocations: 10.5 kB / 0.7897 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.688, allocations: 91.91 kB / 0.7898 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6882, allocations: 297.7 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.6882, allocations: 155.8 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.6883, allocations: 153.6 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.892e-05/0.6883, allocations: 113 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6883, allocations: 77.72 kB / 0.7905 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.6884, allocations: 151.8 kB / 0.7907 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.6884, allocations: 150.6 kB / 0.7908 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.6884, allocations: 151.1 kB / 0.791 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.6887, allocations: 0.5077 MB / 0.7915 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.6887, allocations: 169.5 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.6887, allocations: 86.2 kB / 0.7917 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.6888, allocations: 78.66 kB / 0.7918 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.6888, allocations: 110.4 kB / 0.7919 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.6888, allocations: 0.8438 kB / 0.7919 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001642/0.689, allocations: 51.81 kB / 0.7919 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.689, allocations: 128.3 kB / 0.7921 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.6893, allocations: 324.1 kB / 0.7924 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.6893, allocations: 25.7 kB / 0.7924 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.6894, allocations: 116.9 kB / 0.7925 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.6894, allocations: 3.75 kB / 0.7925 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.6894, allocations: 63.09 kB / 0.7926 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.6895, allocations: 330.5 kB / 0.7929 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.6896, allocations: 68.62 kB / 0.793 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.6897, allocations: 121.3 kB / 0.7931 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.6899, allocations: 204 kB / 0.7933 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6899, allocations: 0 / 0.7933 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003763/0.6903, allocations: 235.5 kB / 0.7935 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6903, allocations: 12.69 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6903, allocations: 3.047 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6903, allocations: 2.625 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.6903, allocations: 2.625 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.6903, allocations: 2.625 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.6905, allocations: 28.78 kB / 0.7935 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.6905, allocations: 8.531 kB / 0.7936 GB, free: 42.96 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.0001184/0.6906, allocations: 227.2 kB / 0.7938 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.6906, allocations: 120.6 kB / 0.7939 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.6907, allocations: 118.7 kB / 0.794 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.6907, allocations: 180.2 kB / 0.7942 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.6907, allocations: 182.6 kB / 0.7943 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.6908, allocations: 177.1 kB / 0.7945 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.6909, allocations: 457.2 kB / 0.7949 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.691, allocations: 103.6 kB / 0.795 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.691, allocations: 104.5 kB / 0.7951 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/0.691, allocations: 183.5 kB / 0.7953 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.691, allocations: 189.6 kB / 0.7955 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.6911, allocations: 184.1 kB / 0.7957 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-05/0.6911, allocations: 183 kB / 0.7959 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.101e-05/0.6912, allocations: 318.3 kB / 0.7962 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.6912, allocations: 205.9 kB / 0.7964 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.6913, allocations: 178.4 kB / 0.7965 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.6914, allocations: 105 kB / 0.7966 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.6914, allocations: 185.8 kB / 0.7968 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6914, allocations: 102.5 kB / 0.7969 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001463/0.6916, allocations: 217.2 kB / 0.7971 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6916, allocations: 0 / 0.7971 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003378/0.6919, allocations: 66.53 kB / 0.7972 GB, free: 39.43 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.0002763/0.6922, allocations: 271.9 kB / 0.7974 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.6924, allocations: 103.8 kB / 0.7975 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6924, allocations: 448 / 0.7975 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.6924, allocations: 4 kB / 0.7975 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.6927, allocations: 463.6 kB / 0.798 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.6932, allocations: 412.4 kB / 0.7984 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.6933, allocations: 0.7379 MB / 0.7991 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.6933, allocations: 10.81 kB / 0.7991 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6933, allocations: 0 / 0.7991 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003587/0.6969, allocations: 2.335 MB / 0.8014 GB, free: 37.66 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)