Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.518/2.518, allocations: 287.9 MB / 302.9 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 179.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001072, allocations: 97.06 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008161/0.0008165, allocations: 14.98 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2505, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001338/0.2518, allocations: 1.103 MB / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.2546, allocations: 2.25 MB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.2546, allocations: 0 / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2561, allocations: 0.5527 MB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.2561, allocations: 15.97 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.2562, allocations: 3.938 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.2563, allocations: 135.7 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.2564, allocations: 32.41 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.2565, allocations: 51.69 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2566, allocations: 75.64 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2566, allocations: 0 / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.2576, allocations: 443.6 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.2576, allocations: 35.83 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.2577, allocations: 65.58 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2581, allocations: 271.7 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2581, allocations: 3.938 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.105e-06/0.2581, allocations: 3.938 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.329e-06/0.2581, allocations: 0 / 0.9837 GB, free: 23.14 MB / 0.6198 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.0006683/0.2588, allocations: 0.5294 MB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2589, allocations: 12.03 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.259, allocations: 107 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2593, allocations: 309 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2593, allocations: 158.5 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2593, allocations: 154.6 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.868e-05/0.2594, allocations: 109 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2594, allocations: 75.28 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2594, allocations: 154.6 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.2595, allocations: 150.6 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.2595, allocations: 150.6 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.2598, allocations: 0.5405 MB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.2599, allocations: 169.1 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.2599, allocations: 75.28 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2599, allocations: 105.8 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.772e-06/0.26, allocations: 0 / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001946/0.2602, allocations: 57.34 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2602, allocations: 126.7 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.2606, allocations: 425.2 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2607, allocations: 33.7 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.2607, allocations: 136.5 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-06/0.2608, allocations: 0 / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.2608, allocations: 0 / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.2608, allocations: 338.8 kB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.261, allocations: 100.5 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.2612, allocations: 161.3 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2614, allocations: 123.8 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.11e-06/0.2614, allocations: 3.953 kB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005813/0.262, allocations: 328.9 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.262, allocations: 4 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-06/0.262, allocations: 7.938 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2621, allocations: 4 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-06/0.2621, allocations: 0 / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2621, allocations: 4.219 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.2623, allocations: 47.28 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2623, allocations: 7.984 kB / 0.9882 GB, free: 18.27 MB / 0.6198 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.0001874/0.2625, allocations: 244.9 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.2626, allocations: 124.7 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.2626, allocations: 118.9 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.2627, allocations: 180.3 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.2627, allocations: 184.2 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.2627, allocations: 180.2 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.263, allocations: 473.2 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.263, allocations: 104.9 kB / 0.9897 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.263, allocations: 104.9 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.727e-05/0.2631, allocations: 188.3 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2631, allocations: 188.2 kB / 0.9902 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/0.2631, allocations: 180.3 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/0.2632, allocations: 180.2 kB / 0.9905 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.2633, allocations: 327.5 kB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.2634, allocations: 205.7 kB / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.2634, allocations: 180.2 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2636, allocations: 104.9 kB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.2636, allocations: 180.2 kB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2637, allocations: 105 kB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002829/0.264, allocations: 275.1 kB / 0.9918 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.75e-07/0.264, allocations: 3.938 kB / 0.9918 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004853/0.2645, allocations: 91.98 kB / 0.9919 GB, free: 14.2 MB / 0.6198 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.000351/0.2648, allocations: 320.9 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.2651, allocations: 159.9 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2651, allocations: 0 / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-06/0.2651, allocations: 4.375 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2654, allocations: 0.5355 MB / 0.9929 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.266, allocations: 0.5204 MB / 0.9934 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2663, allocations: 0.7823 MB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.2663, allocations: 0 / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.2663, allocations: 11.44 kB / 0.9942 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.28e-06/0.2663, allocations: 4 kB / 0.9942 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.007716/0.2741, allocations: 3.056 MB / 0.9972 GB, free: 8.758 MB / 0.6198 GB