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.001234/0.001234, allocations: 101.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 192.2 kB / 16.64 MB, free: 6.445 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.907/1.907, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001497/0.001497, allocations: 68.56 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002806/0.2876, allocations: 1.418 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.291, allocations: 2.667 MB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.291, allocations: 4 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2926, allocations: 0.575 MB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.2927, allocations: 19.91 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.32e-06/0.2927, allocations: 0 / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.2931, allocations: 162.9 kB / 0.7889 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.2932, allocations: 36.41 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.2932, allocations: 51.73 kB / 0.7889 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2934, allocations: 87.45 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2934, allocations: 0 / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.2945, allocations: 479.3 kB / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.2945, allocations: 31.84 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2947, allocations: 99.36 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.2953, allocations: 446.2 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2953, allocations: 0 / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2953, allocations: 0 / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2953, allocations: 0 / 0.79 GB, free: 6.652 MB / 0.6075 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.0009446/0.2963, allocations: 0.549 MB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2963, allocations: 12.03 kB / 0.7906 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.2966, allocations: 103.8 kB / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.2968, allocations: 302.3 kB / 0.791 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2969, allocations: 154.9 kB / 0.7911 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.297, allocations: 154.9 kB / 0.7913 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.2971, allocations: 109.5 kB / 0.7914 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.2971, allocations: 75.47 kB / 0.7914 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.2973, allocations: 154.5 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.2973, allocations: 150.6 kB / 0.7917 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.2974, allocations: 154.5 kB / 0.7919 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.2978, allocations: 0.5367 MB / 0.7924 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.2979, allocations: 169.1 kB / 0.7926 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2979, allocations: 80.14 kB / 0.7926 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.298, allocations: 75.28 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.298, allocations: 109.8 kB / 0.7928 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.298, allocations: 0 / 0.7928 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001911/0.2982, allocations: 65.14 kB / 0.7929 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.2983, allocations: 130.7 kB / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.2987, allocations: 425.3 kB / 0.7934 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2988, allocations: 29.7 kB / 0.7934 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.2989, allocations: 136.5 kB / 0.7936 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.2989, allocations: 0 / 0.7936 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.299, allocations: 93.66 kB / 0.7937 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2991, allocations: 338.8 kB / 0.794 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.2993, allocations: 100.5 kB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.2994, allocations: 169.2 kB / 0.7942 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.2997, allocations: 305.6 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2998, allocations: 0 / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005104/0.3003, allocations: 332.8 kB / 0.7948 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3003, allocations: 6.656 kB / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3003, allocations: 3.938 kB / 0.7949 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3003, allocations: 7.984 kB / 0.7949 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-06/0.3003, allocations: 4 kB / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3004, allocations: 0 / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.3005, allocations: 47.59 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3005, allocations: 4 kB / 0.7949 GB, free: 1.375 MB / 0.6075 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.0002886/0.3008, allocations: 241.7 kB / 0.7951 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.3009, allocations: 128.5 kB / 0.7953 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.301, allocations: 126.7 kB / 0.7954 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.395e-05/0.301, allocations: 180.2 kB / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.56e-05/0.3011, allocations: 180.3 kB / 0.7957 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/0.3012, allocations: 176.3 kB / 0.7959 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3015, allocations: 481.2 kB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.3015, allocations: 109 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.3016, allocations: 104.9 kB / 0.7966 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.866e-05/0.3017, allocations: 180.3 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.3017, allocations: 184.2 kB / 0.7969 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-05/0.3018, allocations: 188.2 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.3019, allocations: 176.5 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.302, allocations: 327.5 kB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3022, allocations: 205.8 kB / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3023, allocations: 184.2 kB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3024, allocations: 112.9 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.3025, allocations: 180.2 kB / 0.7982 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.3025, allocations: 101 kB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005844/0.3031, allocations: 287.1 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3031, allocations: 0 / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004375/0.3036, allocations: 83.98 kB / 0.7987 GB, free: 13.29 MB / 0.6231 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.0006109/0.3042, allocations: 309.5 kB / 0.799 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3045, allocations: 163.8 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3045, allocations: 0 / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3045, allocations: 0 / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3049, allocations: 468 kB / 0.7996 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.3057, allocations: 0.4986 MB / 0.8001 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3062, allocations: 0.7781 MB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.3062, allocations: 7.984 kB / 0.8008 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.3063, allocations: 7.438 kB / 0.8008 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.3063, allocations: 0 / 0.8008 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.006566/0.3128, allocations: 3.064 MB / 0.8038 GB, free: 7.961 MB / 0.6231 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)