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.001164/0.001164, 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.001279/0.001279, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.363/1.363, allocations: 223.2 MB / 240.5 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004681, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001308/0.1733, allocations: 1.094 MB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1751, allocations: 1.627 MB / 0.5595 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1751, allocations: 0 / 0.5595 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008103/0.176, allocations: 366.6 kB / 0.5598 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.607e-05/0.176, allocations: 11.97 kB / 0.5599 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.176, allocations: 0 / 0.5599 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1762, allocations: 107.8 kB / 0.56 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.1762, allocations: 25.48 kB / 0.56 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.1763, allocations: 31.88 kB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.1764, allocations: 59.77 kB / 0.5601 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1764, allocations: 4 kB / 0.5601 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.1769, allocations: 231.9 kB / 0.5603 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.177, allocations: 27.91 kB / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.177, allocations: 65.45 kB / 0.5604 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1773, allocations: 167.9 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1773, allocations: 0 / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1773, allocations: 0 / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1773, allocations: 0 / 0.5605 GB, free: 7.809 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.000596/0.1779, allocations: 478.4 kB / 0.561 GB, free: 7.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1779, allocations: 16.03 kB / 0.561 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1781, allocations: 91.09 kB / 0.5611 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1783, allocations: 286.1 kB / 0.5614 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.1783, allocations: 150.6 kB / 0.5615 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.1784, allocations: 154.6 kB / 0.5617 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.126e-05/0.1784, allocations: 105 kB / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1785, allocations: 83.23 kB / 0.5618 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.1785, allocations: 150.6 kB / 0.562 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.1786, allocations: 154.5 kB / 0.5621 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.79e-05/0.1786, allocations: 150.6 kB / 0.5623 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.179, allocations: 0.5055 MB / 0.5628 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.179, allocations: 169.1 kB / 0.5629 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1791, allocations: 75.28 kB / 0.563 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1791, allocations: 113.8 kB / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1791, allocations: 0 / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001563/0.1793, allocations: 57.36 kB / 0.5632 GB, free: 4.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1793, allocations: 130.7 kB / 0.5633 GB, free: 4.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1796, allocations: 310.4 kB / 0.5636 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1796, allocations: 25.7 kB / 0.5636 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1797, allocations: 120.4 kB / 0.5637 GB, free: 4.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.1797, allocations: 0 / 0.5637 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.1797, allocations: 0 / 0.5637 GB, free: 4.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1798, allocations: 334.8 kB / 0.5641 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.756e-05/0.1799, allocations: 63.95 kB / 0.5641 GB, free: 3.941 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.18, allocations: 126.2 kB / 0.5642 GB, free: 3.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.1801, allocations: 83.95 kB / 0.5643 GB, free: 3.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1801, allocations: 3.938 kB / 0.5643 GB, free: 3.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003737/0.1805, allocations: 229.3 kB / 0.5645 GB, free: 3.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1805, allocations: 8 kB / 0.5645 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1805, allocations: 3.938 kB / 0.5645 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1806, allocations: 4.219 kB / 0.5646 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.1806, allocations: 4 kB / 0.5646 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1806, allocations: 7.953 kB / 0.5646 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1807, allocations: 23.59 kB / 0.5646 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1807, allocations: 4 kB / 0.5646 GB, free: 3.426 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.0001631/0.1809, allocations: 229 kB / 0.5648 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.181, allocations: 124.6 kB / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.181, allocations: 121.8 kB / 0.565 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/0.1811, allocations: 184.2 kB / 0.5652 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.862e-05/0.1811, allocations: 176.3 kB / 0.5654 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/0.1812, allocations: 180.2 kB / 0.5656 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1814, allocations: 453.1 kB / 0.566 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/0.1814, allocations: 105 kB / 0.5661 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1815, allocations: 109 kB / 0.5662 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.286e-05/0.1815, allocations: 184.4 kB / 0.5664 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.1816, allocations: 184.3 kB / 0.5665 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.007e-05/0.1816, allocations: 180.2 kB / 0.5667 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.972e-05/0.1817, allocations: 180.3 kB / 0.5669 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1818, allocations: 327.5 kB / 0.5672 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.1819, allocations: 193.9 kB / 0.5674 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.182, allocations: 184.2 kB / 0.5676 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1821, allocations: 105 kB / 0.5677 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.1822, allocations: 184.2 kB / 0.5678 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.1822, allocations: 101 kB / 0.5679 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1824, allocations: 217.9 kB / 0.5681 GB, free: 15.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1824, allocations: 0 / 0.5681 GB, free: 15.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.1827, allocations: 59.98 kB / 0.5682 GB, free: 15.5 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.000263/0.183, allocations: 270.4 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1832, allocations: 99.89 kB / 0.5686 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1832, allocations: 7.938 kB / 0.5686 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.1832, allocations: 3.938 kB / 0.5686 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1835, allocations: 0.5234 MB / 0.5691 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.1839, allocations: 414 kB / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1841, allocations: 0.7472 MB / 0.5702 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.055e-05/0.1841, allocations: 0 / 0.5702 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.1842, allocations: 15.44 kB / 0.5702 GB, free: 13.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1842, allocations: 0 / 0.5702 GB, free: 13.37 MB / 446.1 MB Notification: Performance of Templates: time 0.004571/0.1888, allocations: 2.192 MB / 0.5724 GB, free: 11.19 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)