Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.789/2.789, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 181.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 81.42 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000643/0.0006431, allocations: 10.47 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2203, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001698/0.222, allocations: 1.115 MB / 0.9794 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2247, allocations: 1.754 MB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.2248, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.2261, allocations: 346.8 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.2261, allocations: 23.84 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.2262, allocations: 0 / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.2264, allocations: 127.1 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.2265, allocations: 25.5 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.2266, allocations: 35.86 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2267, allocations: 63.78 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2267, allocations: 0 / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.2275, allocations: 175.9 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.2275, allocations: 39.83 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.2276, allocations: 53.64 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.2279, allocations: 203.5 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2279, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2279, allocations: 4 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.228, allocations: 0 / 0.9822 GB, free: 24.4 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.0007205/0.2287, allocations: 482.4 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2287, allocations: 8.031 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2289, allocations: 98.98 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2292, allocations: 282.2 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.2292, allocations: 162.5 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.2293, allocations: 154.6 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.944e-05/0.2293, allocations: 101 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2293, allocations: 75.28 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.2294, allocations: 150.6 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.2294, allocations: 154.5 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.2295, allocations: 158.5 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.2298, allocations: 0.5093 MB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.2299, allocations: 169.1 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.2299, allocations: 84.14 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2299, allocations: 83.27 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.23, allocations: 109.8 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.23, allocations: 0 / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0002403/0.2302, allocations: 45.52 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2303, allocations: 130.6 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.2307, allocations: 318.3 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2307, allocations: 29.7 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.2308, allocations: 108.5 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.2308, allocations: 4 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2308, allocations: 4 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.2309, allocations: 330.8 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.231, allocations: 59.95 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2312, allocations: 125.9 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2313, allocations: 83.91 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2313, allocations: 0 / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005198/0.2319, allocations: 229.2 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2319, allocations: 5.875 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2319, allocations: 4 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2319, allocations: 3.938 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.2319, allocations: 4 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.232, allocations: 4.281 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2322, allocations: 31.69 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2322, allocations: 7.984 kB / 0.9863 GB, free: 19.92 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.0001664/0.2324, allocations: 225 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2324, allocations: 128.6 kB / 0.9867 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.2325, allocations: 109.9 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.2325, allocations: 192.3 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-05/0.2326, allocations: 184.2 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.473e-05/0.2326, allocations: 180.2 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2329, allocations: 453.1 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.2329, allocations: 104.9 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.2329, allocations: 108.9 kB / 0.9879 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-05/0.233, allocations: 184.2 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.233, allocations: 180.3 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/0.2331, allocations: 180.2 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-05/0.2331, allocations: 180.3 kB / 0.9886 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2332, allocations: 319.8 kB / 0.9889 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.2333, allocations: 197.9 kB / 0.9891 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.2334, allocations: 188.2 kB / 0.9893 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2336, allocations: 105 kB / 0.9894 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2336, allocations: 188.1 kB / 0.9896 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2336, allocations: 105 kB / 0.9897 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002536/0.2339, allocations: 213.9 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2339, allocations: 0 / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004739/0.2344, allocations: 67.98 kB / 0.9899 GB, free: 15.99 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.0003487/0.2348, allocations: 271.1 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.235, allocations: 99.89 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.235, allocations: 0 / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-06/0.235, allocations: 0 / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2354, allocations: 0.5334 MB / 0.9908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.236, allocations: 415.9 kB / 0.9912 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2362, allocations: 0.7394 MB / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2363, allocations: 4 kB / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.2363, allocations: 7.438 kB / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.2363, allocations: 0 / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.007046/0.2434, allocations: 2.19 MB / 0.9941 GB, free: 11.69 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)