Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 96.27 kB / 15.69 MB, free: 480 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.001207/0.001208, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6585/0.6585, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 11.98 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00251/0.1659, allocations: 1.105 MB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1696, allocations: 2.254 MB / 0.5601 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1697, allocations: 4 kB / 0.5601 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.1716, allocations: 0.541 MB / 0.5606 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.1717, allocations: 19.95 kB / 0.5607 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.1717, allocations: 0 / 0.5607 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.172, allocations: 135.7 kB / 0.5608 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1721, allocations: 32.39 kB / 0.5608 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.1722, allocations: 43.81 kB / 0.5609 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1723, allocations: 83.58 kB / 0.5609 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1724, allocations: 4 kB / 0.561 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1734, allocations: 439.6 kB / 0.5614 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.1735, allocations: 39.83 kB / 0.5614 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.1736, allocations: 65.52 kB / 0.5615 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.1741, allocations: 275.7 kB / 0.5617 GB, free: 6.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1741, allocations: 0 / 0.5617 GB, free: 6.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1741, allocations: 0 / 0.5617 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1741, allocations: 4 kB / 0.5617 GB, free: 6.559 MB / 430.1 MB 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.0007515/0.1748, allocations: 0.5314 MB / 0.5623 GB, free: 5.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1749, allocations: 8.031 kB / 0.5623 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1751, allocations: 106.9 kB / 0.5624 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1753, allocations: 297.1 kB / 0.5626 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.1754, allocations: 154.6 kB / 0.5628 GB, free: 5.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1754, allocations: 154.6 kB / 0.5629 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.1755, allocations: 108.9 kB / 0.563 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.1755, allocations: 79.23 kB / 0.5631 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.1756, allocations: 150.6 kB / 0.5633 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.1757, allocations: 154.5 kB / 0.5634 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.1757, allocations: 154.6 kB / 0.5636 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.1761, allocations: 0.5405 MB / 0.5641 GB, free: 4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.1762, allocations: 169.1 kB / 0.5643 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1762, allocations: 75.28 kB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.1763, allocations: 113.8 kB / 0.5644 GB, free: 3.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1763, allocations: 0 / 0.5644 GB, free: 3.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001738/0.1765, allocations: 57.38 kB / 0.5645 GB, free: 3.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.1765, allocations: 130.7 kB / 0.5646 GB, free: 3.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.177, allocations: 429.1 kB / 0.565 GB, free: 3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.177, allocations: 25.7 kB / 0.565 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1771, allocations: 136.5 kB / 0.5652 GB, free: 2.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.1771, allocations: 0 / 0.5652 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1771, allocations: 4 kB / 0.5652 GB, free: 2.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1773, allocations: 342.8 kB / 0.5655 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1774, allocations: 100.5 kB / 0.5656 GB, free: 2.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1776, allocations: 157.3 kB / 0.5658 GB, free: 2.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1777, allocations: 131.8 kB / 0.5659 GB, free: 2.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1778, allocations: 0 / 0.5659 GB, free: 2.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005295/0.1783, allocations: 324.9 kB / 0.5662 GB, free: 1.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1783, allocations: 8 kB / 0.5662 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1783, allocations: 0 / 0.5662 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1784, allocations: 4 kB / 0.5662 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.1784, allocations: 0 / 0.5662 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1784, allocations: 7.953 kB / 0.5662 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1785, allocations: 47.28 kB / 0.5663 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1786, allocations: 4 kB / 0.5663 GB, free: 1.691 MB / 430.1 MB 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.0002267/0.1788, allocations: 253.2 kB / 0.5665 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.1789, allocations: 116.7 kB / 0.5666 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1789, allocations: 111 kB / 0.5667 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/0.179, allocations: 184.2 kB / 0.5669 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-05/0.1791, allocations: 180.2 kB / 0.5671 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/0.1791, allocations: 188.2 kB / 0.5672 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1794, allocations: 477.1 kB / 0.5677 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/0.1795, allocations: 105 kB / 0.5678 GB, free: 0 / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.1795, allocations: 108.9 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.1796, allocations: 180.3 kB / 0.5681 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.1796, allocations: 180.2 kB / 0.5682 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/0.1797, allocations: 184.2 kB / 0.5684 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.895e-05/0.1798, allocations: 176.3 kB / 0.5686 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1799, allocations: 327.4 kB / 0.5689 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.18, allocations: 209.6 kB / 0.5691 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.1801, allocations: 180.3 kB / 0.5693 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1803, allocations: 101 kB / 0.5694 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.1804, allocations: 192.2 kB / 0.5696 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.1804, allocations: 101 kB / 0.5696 GB, free: 13.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.1807, allocations: 267.1 kB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1807, allocations: 4 kB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1811, allocations: 83.98 kB / 0.57 GB, free: 13.64 MB / 446.1 MB 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.0004003/0.1815, allocations: 335.2 kB / 0.5703 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1818, allocations: 167.8 kB / 0.5705 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1818, allocations: 0 / 0.5705 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1818, allocations: 0 / 0.5705 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1821, allocations: 0.5282 MB / 0.571 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.1828, allocations: 0.5204 MB / 0.5715 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1832, allocations: 0.7863 MB / 0.5723 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.1832, allocations: 0 / 0.5723 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.1832, allocations: 11.44 kB / 0.5723 GB, free: 11.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1832, allocations: 0 / 0.5723 GB, free: 11.24 MB / 446.1 MB Notification: Performance of Templates: time 0.006264/0.1895, allocations: 3.064 MB / 0.5753 GB, free: 8.188 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)