Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008832/0.0008834, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009464/0.0009464, allocations: 172.6 kB / 16.58 MB, free: 5.926 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.467/1.467, allocations: 223.3 MB / 240.6 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003134, allocations: 8.219 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001739/0.173, allocations: 1.106 MB / 0.5604 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1754, allocations: 1.754 MB / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.1755, allocations: 4 kB / 0.5621 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1766, allocations: 341.4 kB / 0.5624 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.1767, allocations: 15.92 kB / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.1767, allocations: 0 / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1769, allocations: 139.1 kB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.177, allocations: 17.5 kB / 0.5626 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.1771, allocations: 39.86 kB / 0.5626 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1772, allocations: 63.77 kB / 0.5627 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1772, allocations: 8 kB / 0.5627 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1777, allocations: 171.9 kB / 0.5629 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1778, allocations: 35.83 kB / 0.5629 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.1779, allocations: 49.64 kB / 0.563 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1782, allocations: 207.5 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1782, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1782, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1782, allocations: 4 kB / 0.5632 GB, free: 5.453 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.0007351/0.1789, allocations: 486.4 kB / 0.5636 GB, free: 4.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.179, allocations: 8.031 kB / 0.5636 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1792, allocations: 99.03 kB / 0.5637 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1794, allocations: 282.1 kB / 0.564 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.1795, allocations: 158.5 kB / 0.5641 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.1796, allocations: 150.6 kB / 0.5643 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.216e-05/0.1796, allocations: 109 kB / 0.5644 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.1797, allocations: 79.23 kB / 0.5645 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.1797, allocations: 150.6 kB / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.1798, allocations: 154.6 kB / 0.5648 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.1799, allocations: 154.5 kB / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1803, allocations: 0.5094 MB / 0.5654 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.1804, allocations: 165.1 kB / 0.5656 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.1804, allocations: 80.14 kB / 0.5656 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1805, allocations: 75.28 kB / 0.5657 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.1805, allocations: 113.8 kB / 0.5658 GB, free: 2.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1805, allocations: 0 / 0.5658 GB, free: 2.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000192/0.1807, allocations: 57.38 kB / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1808, allocations: 130.7 kB / 0.566 GB, free: 2.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.1812, allocations: 306.4 kB / 0.5663 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1812, allocations: 25.7 kB / 0.5663 GB, free: 2.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.1813, allocations: 124.3 kB / 0.5664 GB, free: 1.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1813, allocations: 3.938 kB / 0.5664 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.1813, allocations: 0 / 0.5664 GB, free: 1.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1815, allocations: 334.8 kB / 0.5668 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1816, allocations: 67.89 kB / 0.5668 GB, free: 1.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1817, allocations: 121.5 kB / 0.5669 GB, free: 1.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1819, allocations: 79.95 kB / 0.567 GB, free: 1.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1819, allocations: 8 kB / 0.567 GB, free: 1.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004642/0.1824, allocations: 225.2 kB / 0.5672 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1824, allocations: 8 kB / 0.5672 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1824, allocations: 0 / 0.5672 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1824, allocations: 4 kB / 0.5672 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-06/0.1824, allocations: 7.938 kB / 0.5673 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1825, allocations: 4 kB / 0.5673 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1826, allocations: 23.59 kB / 0.5673 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1826, allocations: 4 kB / 0.5673 GB, free: 0.9805 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.0002519/0.1829, allocations: 235.2 kB / 0.5675 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.183, allocations: 124.6 kB / 0.5676 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.1831, allocations: 117.9 kB / 0.5677 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.079e-05/0.1831, allocations: 184.3 kB / 0.5679 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.412e-05/0.1832, allocations: 188.2 kB / 0.5681 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.19e-05/0.1833, allocations: 180.3 kB / 0.5683 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1836, allocations: 453.1 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/0.1836, allocations: 105 kB / 0.5688 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.1837, allocations: 104.9 kB / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-05/0.1838, allocations: 184.3 kB / 0.5691 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.1838, allocations: 176.3 kB / 0.5692 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.367e-05/0.1839, allocations: 188.2 kB / 0.5694 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.555e-05/0.184, allocations: 176.3 kB / 0.5696 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1842, allocations: 323.5 kB / 0.5699 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1843, allocations: 193.9 kB / 0.5701 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.1844, allocations: 184.2 kB / 0.5703 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1845, allocations: 105 kB / 0.5704 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.1846, allocations: 180.2 kB / 0.5705 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.1847, allocations: 105 kB / 0.5706 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1849, allocations: 213.9 kB / 0.5708 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1849, allocations: 0 / 0.5708 GB, free: 13.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000413/0.1853, allocations: 63.95 kB / 0.5709 GB, free: 13.06 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.000353/0.1857, allocations: 278.3 kB / 0.5712 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1859, allocations: 100.3 kB / 0.5713 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1859, allocations: 4.062 kB / 0.5713 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.1859, allocations: 3.938 kB / 0.5713 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1863, allocations: 0.523 MB / 0.5718 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.1868, allocations: 421.9 kB / 0.5722 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1872, allocations: 0.7395 MB / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.1872, allocations: 7.984 kB / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.1872, allocations: 7.438 kB / 0.5729 GB, free: 10.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1872, allocations: 0 / 0.5729 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Templates: time 0.005538/0.1928, allocations: 2.183 MB / 0.575 GB, free: 8.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)