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.001531/0.001531, allocations: 105.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.001712/0.001712, allocations: 198.6 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.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.765/1.765, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001548/0.001548, allocations: 72.52 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2832, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002973/0.2862, allocations: 1.4 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.2887, allocations: 1.928 MB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.2888, allocations: 0 / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.29, allocations: 392.8 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.29, allocations: 15.91 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.639e-06/0.29, allocations: 0 / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2903, allocations: 131.2 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.2904, allocations: 17.5 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.2904, allocations: 43.8 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2906, allocations: 67.64 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2906, allocations: 0 / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.2911, allocations: 179.9 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.2911, allocations: 27.91 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.2912, allocations: 79.47 kB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.2916, allocations: 290.9 kB / 0.7886 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2916, allocations: 4 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2916, allocations: 3.938 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2916, allocations: 0 / 0.7886 GB, free: 8.133 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.0006888/0.2923, allocations: 494.5 kB / 0.789 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2924, allocations: 12.02 kB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2926, allocations: 96.03 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2928, allocations: 283.3 kB / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.2929, allocations: 166.9 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.2929, allocations: 150.9 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.772e-05/0.293, allocations: 109 kB / 0.7898 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.2931, allocations: 83.27 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.2931, allocations: 150.6 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.2932, allocations: 154.6 kB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.2932, allocations: 150.6 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.2936, allocations: 0.5055 MB / 0.7908 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/0.2937, allocations: 169.1 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.2938, allocations: 88.14 kB / 0.7911 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2938, allocations: 75.28 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.2939, allocations: 109.8 kB / 0.7913 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2939, allocations: 4 kB / 0.7913 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001747/0.2941, allocations: 41.52 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.2941, allocations: 134.6 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.2945, allocations: 330.3 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2945, allocations: 25.7 kB / 0.7918 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.2946, allocations: 120.3 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2946, allocations: 0 / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.2947, allocations: 57.69 kB / 0.7919 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2948, allocations: 330.8 kB / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.2949, allocations: 67.73 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2951, allocations: 118 kB / 0.7924 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2953, allocations: 213.8 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2953, allocations: 0 / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004281/0.2958, allocations: 233.2 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2958, allocations: 8.938 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2958, allocations: 224 / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2958, allocations: 8 kB / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-06/0.2958, allocations: 0 / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2958, allocations: 7.938 kB / 0.7929 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.296, allocations: 27.58 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.296, allocations: 4 kB / 0.7929 GB, free: 3.41 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.0002127/0.2962, allocations: 229.7 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.2963, allocations: 120.7 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.2964, allocations: 121.8 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.2964, allocations: 180.2 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.24e-05/0.2965, allocations: 188.2 kB / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/0.2966, allocations: 176.3 kB / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2969, allocations: 445.2 kB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/0.2969, allocations: 116.9 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.297, allocations: 104.9 kB / 0.7945 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-05/0.297, allocations: 184.2 kB / 0.7947 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.2971, allocations: 176.3 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.567e-05/0.2972, allocations: 176.3 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-05/0.2973, allocations: 184.3 kB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2974, allocations: 327.6 kB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2976, allocations: 201.7 kB / 0.7957 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.2977, allocations: 176.3 kB / 0.7959 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2978, allocations: 108.9 kB / 0.796 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.2979, allocations: 188.2 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.2979, allocations: 109.2 kB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002182/0.2982, allocations: 217.9 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2982, allocations: 0 / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000387/0.2986, allocations: 64 kB / 0.7965 GB, free: 15.48 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.0003489/0.2989, allocations: 278.4 kB / 0.7968 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.2991, allocations: 99.89 kB / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2991, allocations: 0 / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.2991, allocations: 0 / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.2996, allocations: 467.1 kB / 0.7973 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.3002, allocations: 397 kB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.3005, allocations: 0.7392 MB / 0.7984 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.3006, allocations: 11.98 kB / 0.7984 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.3006, allocations: 7.438 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.3006, allocations: 4 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.005634/0.3062, allocations: 2.287 MB / 0.8007 GB, free: 11.16 MB / 0.6231 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)