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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 188.4 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003853/0.003853, allocations: 282.1 kB / 307 MB, free: 8.383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 180.8 MB / 0.5304 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 102 kB / 0.7311 GB, free: 38.71 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.152, allocations: 94.2 MB / 0.8231 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002364/0.1544, allocations: 1.423 MB / 0.8244 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1568, allocations: 1.956 MB / 0.8264 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1568, allocations: 0 / 0.8264 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.1577, allocations: 393.9 kB / 0.8267 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.1578, allocations: 11.92 kB / 0.8267 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.1578, allocations: 0 / 0.8267 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.158, allocations: 123.2 kB / 0.8269 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.1581, allocations: 13.67 kB / 0.8269 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.1581, allocations: 51.78 kB / 0.8269 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1582, allocations: 63.66 kB / 0.827 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1583, allocations: 3.984 kB / 0.827 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.1586, allocations: 176 kB / 0.8272 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1587, allocations: 27.91 kB / 0.8272 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.1587, allocations: 75.55 kB / 0.8273 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1591, allocations: 290.7 kB / 0.8275 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1591, allocations: 3.938 kB / 0.8275 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1591, allocations: 4 kB / 0.8275 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1591, allocations: 0 / 0.8275 GB, free: 13.5 MB / 0.5762 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.0006736/0.1598, allocations: 421.2 kB / 0.8279 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1598, allocations: 12.62 kB / 0.8279 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.16, allocations: 96.11 kB / 0.828 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1602, allocations: 233.1 kB / 0.8283 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.1603, allocations: 154.9 kB / 0.8284 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.1603, allocations: 154.9 kB / 0.8286 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.1604, allocations: 113 kB / 0.8287 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.1604, allocations: 75.28 kB / 0.8287 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.1605, allocations: 154.5 kB / 0.8289 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.1606, allocations: 154.6 kB / 0.829 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.957e-05/0.1606, allocations: 154.6 kB / 0.8292 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.161, allocations: 484.8 kB / 0.8296 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.1611, allocations: 173.1 kB / 0.8298 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.1611, allocations: 80.14 kB / 0.8299 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1611, allocations: 83.27 kB / 0.83 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.1612, allocations: 109.8 kB / 0.8301 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1612, allocations: 0 / 0.8301 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001639/0.1613, allocations: 49.56 kB / 0.8301 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.1614, allocations: 130.6 kB / 0.8302 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1617, allocations: 325.6 kB / 0.8306 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1617, allocations: 29.7 kB / 0.8306 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.1618, allocations: 120.5 kB / 0.8307 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1618, allocations: 0 / 0.8307 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.1619, allocations: 65.67 kB / 0.8308 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.162, allocations: 326.8 kB / 0.8311 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.1621, allocations: 59.95 kB / 0.8311 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1622, allocations: 126 kB / 0.8312 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1625, allocations: 205.8 kB / 0.8314 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1625, allocations: 0 / 0.8314 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004055/0.1629, allocations: 249.2 kB / 0.8317 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1629, allocations: 4 kB / 0.8317 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1629, allocations: 0 / 0.8317 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1629, allocations: 4.219 kB / 0.8317 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.1629, allocations: 8 kB / 0.8317 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1629, allocations: 3.938 kB / 0.8317 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.163, allocations: 27.73 kB / 0.8317 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.163, allocations: 4 kB / 0.8317 GB, free: 8.977 MB / 0.5762 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.0001863/0.1632, allocations: 221.7 kB / 0.8319 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.1633, allocations: 120.8 kB / 0.8321 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.1634, allocations: 125.7 kB / 0.8322 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/0.1635, allocations: 184.2 kB / 0.8324 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-05/0.1635, allocations: 180.2 kB / 0.8325 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-05/0.1636, allocations: 176.3 kB / 0.8327 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1639, allocations: 424.2 kB / 0.8331 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-05/0.1639, allocations: 104.9 kB / 0.8332 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.1639, allocations: 108.9 kB / 0.8333 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.269e-05/0.164, allocations: 188.2 kB / 0.8335 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.1641, allocations: 180.3 kB / 0.8337 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-05/0.1642, allocations: 180.3 kB / 0.8338 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-05/0.1642, allocations: 180.2 kB / 0.834 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1644, allocations: 323.6 kB / 0.8343 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.1645, allocations: 124.8 kB / 0.8344 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.1646, allocations: 176.3 kB / 0.8346 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1647, allocations: 108.9 kB / 0.8347 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.1648, allocations: 184.3 kB / 0.8349 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1648, allocations: 112.9 kB / 0.835 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002048/0.165, allocations: 217.2 kB / 0.8352 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.165, allocations: 0 / 0.8352 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003235/0.1653, allocations: 63.88 kB / 0.8352 GB, free: 5.168 MB / 0.5762 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.0003137/0.1656, allocations: 278.7 kB / 0.8355 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.1658, allocations: 79.89 kB / 0.8356 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1658, allocations: 0 / 0.8356 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1658, allocations: 0 / 0.8356 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1662, allocations: 476 kB / 0.836 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.1667, allocations: 389.4 kB / 0.8364 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.167, allocations: 0.7431 MB / 0.8371 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.1671, allocations: 4 kB / 0.8371 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.1671, allocations: 7.438 kB / 0.8372 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1671, allocations: 0 / 0.8372 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.005494/0.1726, allocations: 2.32 MB / 0.8394 GB, free: 0.8516 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.544603419999476] Failed to read output from testmodel.py, exit status != 0: 0.1797907000000123 0.19387696399999996 0.031969212000000004 Calling exit ...