Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001477/0.001478, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 282.4 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 90.86 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.99 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00247/0.1553, allocations: 1.461 MB / 0.6811 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1574, allocations: 1.907 MB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.1574, allocations: 0 / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.1583, allocations: 370.1 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.1584, allocations: 15.91 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.1584, allocations: 0 / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1586, allocations: 131.1 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.1586, allocations: 17.5 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1587, allocations: 35.88 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.1588, allocations: 67.7 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1588, allocations: 0 / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.1592, allocations: 191.9 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.1592, allocations: 31.84 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1593, allocations: 67.61 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1597, allocations: 291.1 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1597, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1597, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1597, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.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.0005991/0.1603, allocations: 498.5 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.1603, allocations: 16.03 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1605, allocations: 92.03 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1607, allocations: 291.3 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.1607, allocations: 154.9 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.1608, allocations: 154.9 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.363e-05/0.1609, allocations: 105.1 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.1609, allocations: 87.16 kB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.161, allocations: 150.6 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.161, allocations: 154.5 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.1611, allocations: 150.6 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.1614, allocations: 0.5055 MB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.1615, allocations: 177.1 kB / 0.6865 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.1615, allocations: 84.08 kB / 0.6866 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1615, allocations: 75.28 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.1616, allocations: 117.8 kB / 0.6868 GB, free: 9.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1616, allocations: 0 / 0.6868 GB, free: 9.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001563/0.1617, allocations: 41.52 kB / 0.6868 GB, free: 9.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1618, allocations: 138.7 kB / 0.6869 GB, free: 9.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1621, allocations: 322.2 kB / 0.6873 GB, free: 9.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1621, allocations: 25.7 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.1622, allocations: 116.4 kB / 0.6874 GB, free: 8.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1622, allocations: 0 / 0.6874 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.1623, allocations: 61.73 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1624, allocations: 334.8 kB / 0.6878 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.1625, allocations: 63.97 kB / 0.6878 GB, free: 8.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1626, allocations: 114 kB / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1628, allocations: 209.8 kB / 0.6881 GB, free: 8.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1628, allocations: 3.938 kB / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003703/0.1632, allocations: 237.1 kB / 0.6884 GB, free: 7.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1632, allocations: 8 kB / 0.6884 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1632, allocations: 0 / 0.6884 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1632, allocations: 4 kB / 0.6884 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.1632, allocations: 0 / 0.6884 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1632, allocations: 8.062 kB / 0.6884 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1634, allocations: 23.62 kB / 0.6884 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1634, allocations: 15.98 kB / 0.6884 GB, free: 7.793 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.1636, allocations: 230.5 kB / 0.6886 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.1636, allocations: 128.6 kB / 0.6888 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.1637, allocations: 109.8 kB / 0.6889 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/0.1638, allocations: 180.3 kB / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/0.1638, allocations: 180.2 kB / 0.6892 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.125e-05/0.1639, allocations: 188.2 kB / 0.6894 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1641, allocations: 449.1 kB / 0.6898 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.1642, allocations: 108.9 kB / 0.6899 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.1642, allocations: 108.9 kB / 0.69 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.637e-05/0.1643, allocations: 176.3 kB / 0.6902 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.1643, allocations: 180.2 kB / 0.6904 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/0.1644, allocations: 180.3 kB / 0.6905 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-05/0.1645, allocations: 188.2 kB / 0.6907 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1646, allocations: 311.6 kB / 0.691 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.1647, allocations: 205.8 kB / 0.6912 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.1648, allocations: 184.3 kB / 0.6914 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1649, allocations: 108.9 kB / 0.6915 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.165, allocations: 180.2 kB / 0.6917 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.165, allocations: 101 kB / 0.6918 GB, free: 4.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1652, allocations: 217.9 kB / 0.692 GB, free: 3.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.1652, allocations: 0 / 0.692 GB, free: 3.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1655, allocations: 67.94 kB / 0.692 GB, free: 3.871 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.1658, allocations: 278.8 kB / 0.6923 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.166, allocations: 104 kB / 0.6924 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.166, allocations: 4 kB / 0.6924 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.166, allocations: 0 / 0.6924 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1664, allocations: 458.4 kB / 0.6928 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1668, allocations: 425.4 kB / 0.6932 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1671, allocations: 0.7431 MB / 0.694 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1671, allocations: 7.984 kB / 0.694 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1671, allocations: 7.438 kB / 0.694 GB, free: 1.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1671, allocations: 0 / 0.694 GB, free: 1.809 MB / 494.1 MB Notification: Performance of Templates: time 0.00474/0.1719, allocations: 2.307 MB / 0.6962 GB, free: 15.52 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)