Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.371/4.371, allocations: 0.5623 GB / 0.5769 GB, free: 66.88 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0026/0.0026, allocations: 362.2 kB / 0.644 GB, free: 21.61 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.94/3.94, allocations: 410.7 MB / 1.112 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 173.7 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005067, allocations: 19.19 kB / 1.348 GB, free: 321.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1575, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001314/0.1588, allocations: 1.106 MB / 1.462 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1609, allocations: 1.755 MB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1609, allocations: 0 / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.1618, allocations: 337.6 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.1619, allocations: 16.42 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.1619, allocations: 1.156 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1621, allocations: 131.2 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.1622, allocations: 18.12 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.1622, allocations: 43.8 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1623, allocations: 67.77 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1623, allocations: 0.6875 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.1629, allocations: 172.6 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.1629, allocations: 37.09 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.163, allocations: 49.64 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1632, allocations: 167.9 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1632, allocations: 0 / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1632, allocations: 1.156 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.322e-06/0.1632, allocations: 0 / 1.465 GB, free: 216.8 MB / 0.8073 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.0005706/0.1638, allocations: 483.9 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1639, allocations: 8.75 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.164, allocations: 103.5 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1642, allocations: 282.8 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1643, allocations: 152.3 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1643, allocations: 154.6 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.043e-05/0.1644, allocations: 110.7 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1644, allocations: 75.28 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.1644, allocations: 151.2 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.1645, allocations: 157.2 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.1645, allocations: 154.6 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.1648, allocations: 0.5132 MB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/0.1648, allocations: 175.5 kB / 1.467 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.1649, allocations: 80.14 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1649, allocations: 75.28 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1649, allocations: 107.3 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.1649, allocations: 0 / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001848/0.1651, allocations: 46.05 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1652, allocations: 127.9 kB / 1.467 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1655, allocations: 322.2 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1655, allocations: 27.77 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1656, allocations: 120.4 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-06/0.1656, allocations: 0 / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.1656, allocations: 0 / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.1657, allocations: 330.8 kB / 1.468 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.1658, allocations: 65.7 kB / 1.468 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1659, allocations: 120.2 kB / 1.468 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.166, allocations: 83.91 kB / 1.468 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-06/0.1661, allocations: 0 / 1.468 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004733/0.1665, allocations: 241.1 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1666, allocations: 4.781 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.822e-06/0.1666, allocations: 4 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1666, allocations: 0.75 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.1666, allocations: 4 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1666, allocations: 7.016 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1668, allocations: 23.69 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1668, allocations: 4 kB / 1.469 GB, free: 212.4 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.167, allocations: 237.3 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1671, allocations: 121.4 kB / 1.469 GB, free: 212 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.1671, allocations: 111.1 kB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.1671, allocations: 184.2 kB / 1.469 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/0.1672, allocations: 181.7 kB / 1.469 GB, free: 211.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/0.1672, allocations: 184.2 kB / 1.47 GB, free: 211.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1674, allocations: 453.2 kB / 1.47 GB, free: 210.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.1675, allocations: 104.9 kB / 1.47 GB, free: 210.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.1675, allocations: 104.9 kB / 1.47 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/0.1675, allocations: 176.3 kB / 1.47 GB, free: 210.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1676, allocations: 184.2 kB / 1.471 GB, free: 210.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-05/0.1676, allocations: 185.1 kB / 1.471 GB, free: 210.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-05/0.1676, allocations: 184.8 kB / 1.471 GB, free: 209.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.382e-05/0.1677, allocations: 322.1 kB / 1.471 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1678, allocations: 205.8 kB / 1.471 GB, free: 209.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.1679, allocations: 177 kB / 1.472 GB, free: 209.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.168, allocations: 105.8 kB / 1.472 GB, free: 209 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1681, allocations: 181.4 kB / 1.472 GB, free: 208.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1681, allocations: 101 kB / 1.472 GB, free: 208.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001961/0.1683, allocations: 215.1 kB / 1.472 GB, free: 208.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.25e-07/0.1683, allocations: 0 / 1.472 GB, free: 208.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004167/0.1687, allocations: 64 kB / 1.472 GB, free: 208.5 MB / 0.8073 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 (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.0002789/0.169, allocations: 285.3 kB / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1692, allocations: 101.4 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1692, allocations: 0.5312 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.87e-06/0.1693, allocations: 0.625 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1696, allocations: 0.5247 MB / 1.473 GB, free: 207.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.1701, allocations: 414.6 kB / 1.474 GB, free: 207.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.1703, allocations: 0.7537 MB / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.28e-05/0.1703, allocations: 0 / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.1703, allocations: 11.44 kB / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.581e-06/0.1704, allocations: 1.156 kB / 1.474 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.006195/0.1766, allocations: 2.191 MB / 1.476 GB, free: 204.3 MB / 0.8073 GB