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.0009539/0.0009545, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007562/0.007562, allocations: 169 kB / 16.26 MB, free: 6.613 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.608/1.608, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.78/1.78, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0006152/0.0006153, allocations: 16.28 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2986, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001827/0.3005, allocations: 1.124 MB / 0.789 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.3032, allocations: 1.893 MB / 0.7908 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.3032, allocations: 3.938 kB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.3046, allocations: 361.5 kB / 0.7912 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.3046, allocations: 23.91 kB / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.876e-06/0.3046, allocations: 0 / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.3049, allocations: 135.2 kB / 0.7913 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.305, allocations: 21.48 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.3051, allocations: 43.81 kB / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3052, allocations: 59.77 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3052, allocations: 4 kB / 0.7914 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.3058, allocations: 183.8 kB / 0.7916 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.3059, allocations: 31.89 kB / 0.7916 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.306, allocations: 101.2 kB / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.3065, allocations: 283.1 kB / 0.792 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3065, allocations: 0 / 0.792 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3065, allocations: 0 / 0.792 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3065, allocations: 0 / 0.792 GB, free: 7.332 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.00081/0.3073, allocations: 478.6 kB / 0.7925 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3074, allocations: 8.031 kB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.3076, allocations: 103.9 kB / 0.7926 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3078, allocations: 283.4 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.3079, allocations: 158.9 kB / 0.793 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.308, allocations: 150.9 kB / 0.7931 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.301e-05/0.308, allocations: 113.1 kB / 0.7933 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3081, allocations: 79.22 kB / 0.7933 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.3081, allocations: 158.5 kB / 0.7935 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.3082, allocations: 150.6 kB / 0.7936 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.3083, allocations: 150.6 kB / 0.7938 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3087, allocations: 0.5055 MB / 0.7943 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3088, allocations: 173.1 kB / 0.7944 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.3088, allocations: 80.14 kB / 0.7945 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.3089, allocations: 79.22 kB / 0.7946 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.309, allocations: 113.8 kB / 0.7947 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.309, allocations: 0 / 0.7947 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001932/0.3092, allocations: 49.41 kB / 0.7947 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.3092, allocations: 130.7 kB / 0.7949 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.3096, allocations: 322.4 kB / 0.7952 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3096, allocations: 25.7 kB / 0.7952 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3097, allocations: 116.4 kB / 0.7953 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.3097, allocations: 0 / 0.7953 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3098, allocations: 49.62 kB / 0.7953 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3099, allocations: 334.8 kB / 0.7957 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.31, allocations: 63.95 kB / 0.7957 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3102, allocations: 122.4 kB / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.3104, allocations: 205.9 kB / 0.796 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3104, allocations: 0 / 0.796 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004133/0.3108, allocations: 241.1 kB / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3109, allocations: 12.22 kB / 0.7963 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3109, allocations: 0 / 0.7963 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3109, allocations: 4 kB / 0.7963 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.3109, allocations: 3.984 kB / 0.7963 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3109, allocations: 4 kB / 0.7963 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.311, allocations: 23.59 kB / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.311, allocations: 4 kB / 0.7963 GB, free: 2.645 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.0001865/0.3112, allocations: 235.5 kB / 0.7965 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.3113, allocations: 128.8 kB / 0.7967 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3114, allocations: 109.9 kB / 0.7968 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/0.3114, allocations: 184.2 kB / 0.7969 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.537e-05/0.3115, allocations: 180.3 kB / 0.7971 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/0.3116, allocations: 180.2 kB / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3119, allocations: 453.2 kB / 0.7977 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/0.3119, allocations: 105 kB / 0.7978 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.3119, allocations: 108.9 kB / 0.7979 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/0.312, allocations: 180.3 kB / 0.7981 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.3121, allocations: 180.2 kB / 0.7983 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-05/0.3121, allocations: 180.2 kB / 0.7984 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.307e-05/0.3122, allocations: 192.1 kB / 0.7986 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3124, allocations: 319.5 kB / 0.7989 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3125, allocations: 201.8 kB / 0.7991 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.3126, allocations: 176.3 kB / 0.7993 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3127, allocations: 113 kB / 0.7994 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3129, allocations: 184.2 kB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3129, allocations: 105 kB / 0.7997 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002055/0.3132, allocations: 213.9 kB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3132, allocations: 0 / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003772/0.3135, allocations: 67.98 kB / 0.7999 GB, free: 14.71 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.0003366/0.3139, allocations: 266.8 kB / 0.8002 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3141, allocations: 103.8 kB / 0.8003 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3141, allocations: 0 / 0.8003 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.3141, allocations: 8.359 kB / 0.8003 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3145, allocations: 0.537 MB / 0.8008 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.3151, allocations: 430 kB / 0.8012 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3154, allocations: 0.7395 MB / 0.802 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3154, allocations: 7.922 kB / 0.802 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.3155, allocations: 11.44 kB / 0.802 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3155, allocations: 0 / 0.802 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.005241/0.3207, allocations: 2.219 MB / 0.8041 GB, free: 10.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: