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.001332/0.001332, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001287/0.001287, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.262/1.262, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 293 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8805/0.8805, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.14 kB / 0.5953 GB, free: 4.492 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 86.98 MB / 0.6803 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00245/0.1665, allocations: 1.456 MB / 0.6817 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1687, allocations: 1.913 MB / 0.6836 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.1687, allocations: 0 / 0.6836 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1697, allocations: 374.1 kB / 0.6839 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.1698, allocations: 15.91 kB / 0.6839 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1698, allocations: 3.938 kB / 0.6839 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.17, allocations: 119.2 kB / 0.6841 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.1701, allocations: 29.48 kB / 0.6841 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.1701, allocations: 35.88 kB / 0.6841 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1703, allocations: 63.7 kB / 0.6842 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1703, allocations: 4 kB / 0.6842 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.1707, allocations: 179.9 kB / 0.6844 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1707, allocations: 35.83 kB / 0.6844 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.1708, allocations: 79.48 kB / 0.6845 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1711, allocations: 211.5 kB / 0.6847 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1711, allocations: 0 / 0.6847 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1711, allocations: 4 kB / 0.6847 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1711, allocations: 0 / 0.6847 GB, free: 8.98 MB / 0.5294 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.0006286/0.1717, allocations: 494.5 kB / 0.6851 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1718, allocations: 8.031 kB / 0.6851 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1719, allocations: 96.03 kB / 0.6852 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1722, allocations: 291.2 kB / 0.6855 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.1723, allocations: 162.9 kB / 0.6857 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.1723, allocations: 150.9 kB / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.461e-05/0.1724, allocations: 105.1 kB / 0.6859 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.1724, allocations: 75.28 kB / 0.686 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.1725, allocations: 158.5 kB / 0.6861 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.1726, allocations: 154.6 kB / 0.6863 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/0.1726, allocations: 150.6 kB / 0.6864 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.173, allocations: 0.5017 MB / 0.6869 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.1731, allocations: 173.1 kB / 0.6871 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1731, allocations: 84.08 kB / 0.6872 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1732, allocations: 79.28 kB / 0.6872 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.1732, allocations: 109.8 kB / 0.6873 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.1732, allocations: 0 / 0.6873 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 0.0001678/0.1734, allocations: 53.55 kB / 0.6874 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1735, allocations: 126.7 kB / 0.6875 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1738, allocations: 326.3 kB / 0.6878 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1738, allocations: 29.7 kB / 0.6879 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.1739, allocations: 116.3 kB / 0.688 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.1739, allocations: 4 kB / 0.688 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.174, allocations: 61.67 kB / 0.688 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1741, allocations: 330.8 kB / 0.6883 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.1742, allocations: 63.95 kB / 0.6884 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1743, allocations: 121.7 kB / 0.6885 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1746, allocations: 213.8 kB / 0.6887 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1746, allocations: 0 / 0.6887 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004059/0.175, allocations: 241.1 kB / 0.689 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.175, allocations: 6.031 kB / 0.689 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.175, allocations: 4 kB / 0.689 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1751, allocations: 4.219 kB / 0.689 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-06/0.1751, allocations: 4 kB / 0.689 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1751, allocations: 0 / 0.689 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1752, allocations: 35.53 kB / 0.689 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1752, allocations: 4 kB / 0.689 GB, free: 4.262 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.1754, allocations: 235.4 kB / 0.6892 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.1755, allocations: 116.7 kB / 0.6893 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.1756, allocations: 117.8 kB / 0.6895 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.97e-05/0.1756, allocations: 180.2 kB / 0.6896 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.1757, allocations: 180.3 kB / 0.6898 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-05/0.1758, allocations: 184.2 kB / 0.69 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1761, allocations: 449.2 kB / 0.6904 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.13e-05/0.1762, allocations: 105 kB / 0.6905 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.1762, allocations: 108.9 kB / 0.6906 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.376e-05/0.1763, allocations: 180.3 kB / 0.6908 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.1764, allocations: 184.2 kB / 0.691 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.895e-05/0.1764, allocations: 176.3 kB / 0.6911 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.126e-05/0.1765, allocations: 184.2 kB / 0.6913 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1767, allocations: 327.5 kB / 0.6916 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1768, allocations: 197.8 kB / 0.6918 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.1769, allocations: 180.3 kB / 0.692 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.177, allocations: 112.9 kB / 0.6921 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.1771, allocations: 180.3 kB / 0.6923 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.1771, allocations: 101 kB / 0.6924 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002137/0.1774, allocations: 213.9 kB / 0.6926 GB, free: 412 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1774, allocations: 0 / 0.6926 GB, free: 412 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003454/0.1777, allocations: 63.98 kB / 0.6926 GB, free: 348 kB / 0.5294 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 (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.0003142/0.178, allocations: 274.7 kB / 0.6929 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1782, allocations: 104 kB / 0.693 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1783, allocations: 3.938 kB / 0.693 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.1783, allocations: 4.375 kB / 0.693 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1786, allocations: 464.2 kB / 0.6934 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1792, allocations: 450.8 kB / 0.6939 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1795, allocations: 0.7391 MB / 0.6946 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1795, allocations: 11.44 kB / 0.6946 GB, free: 14.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1795, allocations: 0 / 0.6946 GB, free: 14.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003919/0.1835, allocations: 2.34 MB / 0.6969 GB, free: 11.91 MB / 0.545 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)