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.001055/0.001055, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007586/0.007586, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001802, allocations: 273.7 kB / 291.7 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 16.58 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1523, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001455/0.1538, allocations: 1.116 MB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1558, allocations: 1.893 MB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.1558, allocations: 1.062 kB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.1567, allocations: 356.7 kB / 0.6884 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.1568, allocations: 19.28 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.831e-06/0.1568, allocations: 4 kB / 0.6884 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.157, allocations: 147.1 kB / 0.6886 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.1571, allocations: 20.09 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.1571, allocations: 35.86 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1572, allocations: 64.22 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1573, allocations: 0.75 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.1576, allocations: 186 kB / 0.6889 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.1577, allocations: 27.84 kB / 0.6889 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.1578, allocations: 101.3 kB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1581, allocations: 287.1 kB / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1582, allocations: 0 / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1582, allocations: 2.406 kB / 0.6893 GB, free: 10.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1582, allocations: 0 / 0.6893 GB, free: 10.82 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.0005727/0.1588, allocations: 478.7 kB / 0.6897 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1588, allocations: 15.95 kB / 0.6897 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1589, allocations: 96.81 kB / 0.6898 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1591, allocations: 289 kB / 0.6901 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.1592, allocations: 150.9 kB / 0.6902 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1592, allocations: 159.6 kB / 0.6904 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.488e-05/0.1593, allocations: 105.6 kB / 0.6905 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1593, allocations: 76.16 kB / 0.6906 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.1594, allocations: 159 kB / 0.6907 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.1594, allocations: 155.7 kB / 0.6909 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.1595, allocations: 158.5 kB / 0.691 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.1598, allocations: 0.5026 MB / 0.6915 GB, free: 8.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.1599, allocations: 169.1 kB / 0.6917 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.1599, allocations: 80.14 kB / 0.6918 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1599, allocations: 75.28 kB / 0.6918 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.16, allocations: 109.8 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.885e-06/0.16, allocations: 4 kB / 0.6919 GB, free: 7.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001552/0.1601, allocations: 49.45 kB / 0.692 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1602, allocations: 130.7 kB / 0.6921 GB, free: 7.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1605, allocations: 318.3 kB / 0.6924 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1605, allocations: 25.7 kB / 0.6924 GB, free: 7.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1606, allocations: 124.3 kB / 0.6926 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.1606, allocations: 0 / 0.6926 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1606, allocations: 49.69 kB / 0.6926 GB, free: 7.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1607, allocations: 334.8 kB / 0.6929 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1608, allocations: 59.95 kB / 0.693 GB, free: 6.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1609, allocations: 121.9 kB / 0.6931 GB, free: 6.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1612, allocations: 205.9 kB / 0.6933 GB, free: 6.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1612, allocations: 4 kB / 0.6933 GB, free: 6.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003767/0.1615, allocations: 241.1 kB / 0.6935 GB, free: 6.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1616, allocations: 4 kB / 0.6935 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1616, allocations: 4 kB / 0.6935 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1616, allocations: 0 / 0.6935 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.1616, allocations: 4 kB / 0.6935 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1616, allocations: 0 / 0.6935 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1617, allocations: 35.53 kB / 0.6936 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1617, allocations: 4 kB / 0.6936 GB, free: 6.137 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.0001609/0.1619, allocations: 226.6 kB / 0.6938 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.162, allocations: 124.7 kB / 0.6939 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.162, allocations: 117.8 kB / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/0.1621, allocations: 184.2 kB / 0.6942 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.666e-05/0.1621, allocations: 176.3 kB / 0.6944 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-05/0.1622, allocations: 184.3 kB / 0.6945 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1624, allocations: 453.1 kB / 0.695 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/0.1625, allocations: 101 kB / 0.6951 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1625, allocations: 116.8 kB / 0.6952 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/0.1625, allocations: 176.3 kB / 0.6953 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.1626, allocations: 184.3 kB / 0.6955 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.904e-05/0.1627, allocations: 184.2 kB / 0.6957 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-05/0.1627, allocations: 176.3 kB / 0.6959 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.1628, allocations: 319.5 kB / 0.6962 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.1629, allocations: 205.8 kB / 0.6964 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.163, allocations: 192.2 kB / 0.6965 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1631, allocations: 101 kB / 0.6966 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1632, allocations: 184.2 kB / 0.6968 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.1632, allocations: 101 kB / 0.6969 GB, free: 2.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1634, allocations: 217.9 kB / 0.6971 GB, free: 2.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 0 / 0.6971 GB, free: 2.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1637, allocations: 64 kB / 0.6972 GB, free: 2.211 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.0002689/0.164, allocations: 270.8 kB / 0.6974 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1641, allocations: 107.9 kB / 0.6975 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1642, allocations: 0 / 0.6975 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.1642, allocations: 3.938 kB / 0.6975 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1645, allocations: 0.5275 MB / 0.6981 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.165, allocations: 434.5 kB / 0.6985 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1653, allocations: 0.7433 MB / 0.6992 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.989e-06/0.1653, allocations: 0 / 0.6992 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1653, allocations: 11.44 kB / 0.6992 GB, free: 60 kB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1653, allocations: 3.938 kB / 0.6992 GB, free: 56 kB / 494.1 MB Notification: Performance of Templates: time 0.004813/0.1701, allocations: 2.231 MB / 0.7014 GB, free: 13.84 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)