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.0008688/0.0008689, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.69/1.69, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005951/0.0005952, allocations: 14.56 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2622, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001434/0.2637, allocations: 1.103 MB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2657, allocations: 1.762 MB / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.2657, allocations: 0 / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2665, allocations: 345 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.2665, allocations: 15.92 kB / 0.7904 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.2666, allocations: 0 / 0.7904 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.2668, allocations: 135.2 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.2668, allocations: 17.5 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.2669, allocations: 39.81 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.267, allocations: 63.77 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.267, allocations: 4 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.2674, allocations: 179.9 kB / 0.7908 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.2675, allocations: 27.91 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.2676, allocations: 57.58 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.2678, allocations: 207.5 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2678, allocations: 0 / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2678, allocations: 3.938 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2679, allocations: 0 / 0.7911 GB, free: 7.969 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.0006874/0.2685, allocations: 482.4 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2686, allocations: 12.03 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2687, allocations: 95 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.269, allocations: 286.1 kB / 0.792 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.269, allocations: 154.5 kB / 0.7921 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.2691, allocations: 158.6 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.905e-05/0.2692, allocations: 105 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.2692, allocations: 79.28 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.2693, allocations: 154.5 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.2693, allocations: 150.6 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.2694, allocations: 150.6 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.2698, allocations: 0.517 MB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.2699, allocations: 173.1 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.27, allocations: 80.14 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.27, allocations: 75.28 kB / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.2701, allocations: 113.8 kB / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.2701, allocations: 0 / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001577/0.2702, allocations: 53.45 kB / 0.7938 GB, free: 5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2703, allocations: 126.7 kB / 0.794 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.2706, allocations: 314.3 kB / 0.7943 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2706, allocations: 29.7 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2707, allocations: 112.5 kB / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.2707, allocations: 0 / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.2707, allocations: 0 / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2708, allocations: 330.8 kB / 0.7947 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.2709, allocations: 67.95 kB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.271, allocations: 118.4 kB / 0.7949 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/0.2711, allocations: 83.91 kB / 0.795 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2711, allocations: 0 / 0.795 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003804/0.2715, allocations: 237.1 kB / 0.7952 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2715, allocations: 4.219 kB / 0.7952 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2715, allocations: 8 kB / 0.7952 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2716, allocations: 0 / 0.7952 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.117e-06/0.2716, allocations: 8 kB / 0.7952 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2716, allocations: 3.938 kB / 0.7952 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2717, allocations: 23.69 kB / 0.7952 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.2717, allocations: 4 kB / 0.7953 GB, free: 3.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.272, allocations: 225.7 kB / 0.7955 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.272, allocations: 132.7 kB / 0.7956 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.2721, allocations: 121.8 kB / 0.7957 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/0.2722, allocations: 176.3 kB / 0.7959 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-05/0.2722, allocations: 180.2 kB / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.949e-05/0.2723, allocations: 184.2 kB / 0.7962 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.2725, allocations: 453.2 kB / 0.7967 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.2726, allocations: 108.9 kB / 0.7968 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.2726, allocations: 109 kB / 0.7969 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.966e-05/0.2727, allocations: 184.2 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.2727, allocations: 184.3 kB / 0.7972 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.505e-05/0.2728, allocations: 176.3 kB / 0.7974 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.859e-05/0.2729, allocations: 184.3 kB / 0.7976 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.273, allocations: 319.6 kB / 0.7979 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2732, allocations: 193.9 kB / 0.7981 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.2733, allocations: 184.2 kB / 0.7982 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2734, allocations: 108.9 kB / 0.7983 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.2735, allocations: 184.3 kB / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.2735, allocations: 108.9 kB / 0.7986 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001864/0.2737, allocations: 209.9 kB / 0.7988 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2737, allocations: 0 / 0.7988 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000364/0.2741, allocations: 63.98 kB / 0.7989 GB, free: 15.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.2744, allocations: 266.8 kB / 0.7991 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2746, allocations: 103.9 kB / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2746, allocations: 0 / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2746, allocations: 448 / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.275, allocations: 0.5293 MB / 0.7997 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.2755, allocations: 418.2 kB / 0.8001 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.2759, allocations: 0.7433 MB / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.2759, allocations: 4 kB / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.2759, allocations: 11.38 kB / 0.8009 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2759, allocations: 0 / 0.8009 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.00547/0.2814, allocations: 2.191 MB / 0.803 GB, free: 11.25 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: