Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115 kB / 17.09 MB, free: 5.988 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.001207/0.001207, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 65.08 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1568, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002376/0.1592, allocations: 1.403 MB / 0.6341 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1621, allocations: 2.669 MB / 0.6367 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.1622, allocations: 0 / 0.6367 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.1635, allocations: 0.5828 MB / 0.6373 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.1636, allocations: 19.84 kB / 0.6373 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1636, allocations: 0 / 0.6373 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1638, allocations: 162.9 kB / 0.6374 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.1639, allocations: 28.41 kB / 0.6375 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.164, allocations: 71.66 kB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1641, allocations: 79.58 kB / 0.6376 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1641, allocations: 4 kB / 0.6376 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009071/0.1651, allocations: 463.3 kB / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1651, allocations: 35.83 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.1652, allocations: 103.4 kB / 0.6382 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.1658, allocations: 442.2 kB / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1658, allocations: 0 / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1658, allocations: 0 / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1658, allocations: 4 kB / 0.6386 GB, free: 14.35 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.0007068/0.1665, allocations: 0.5451 MB / 0.6392 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1666, allocations: 12.03 kB / 0.6392 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.1667, allocations: 99.94 kB / 0.6393 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.167, allocations: 310.2 kB / 0.6396 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.167, allocations: 154.9 kB / 0.6397 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.1671, allocations: 154.9 kB / 0.6399 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.926e-05/0.1671, allocations: 105.5 kB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.1672, allocations: 83.41 kB / 0.64 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.1672, allocations: 154.5 kB / 0.6402 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.1673, allocations: 154.5 kB / 0.6403 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.1673, allocations: 150.6 kB / 0.6405 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1677, allocations: 0.5328 MB / 0.641 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.1678, allocations: 173.1 kB / 0.6412 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.1678, allocations: 84.12 kB / 0.6412 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1678, allocations: 75.28 kB / 0.6413 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.1679, allocations: 117.8 kB / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1679, allocations: 0 / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001642/0.1681, allocations: 57.36 kB / 0.6415 GB, free: 11.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.1681, allocations: 51.41 kB / 0.6415 GB, free: 11.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1685, allocations: 429.2 kB / 0.6419 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1685, allocations: 29.7 kB / 0.642 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.1686, allocations: 128.5 kB / 0.6421 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.1686, allocations: 3.938 kB / 0.6421 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.1687, allocations: 97.66 kB / 0.6422 GB, free: 10.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1689, allocations: 334.8 kB / 0.6425 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.169, allocations: 100.5 kB / 0.6426 GB, free: 10.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1691, allocations: 173.2 kB / 0.6428 GB, free: 9.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1694, allocations: 297.7 kB / 0.643 GB, free: 9.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1695, allocations: 0 / 0.643 GB, free: 9.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000474/0.1699, allocations: 332.9 kB / 0.6434 GB, free: 9.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.17, allocations: 4 kB / 0.6434 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.17, allocations: 4 kB / 0.6434 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.17, allocations: 3.938 kB / 0.6434 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-06/0.17, allocations: 7.984 kB / 0.6434 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.17, allocations: 0 / 0.6434 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1702, allocations: 47.28 kB / 0.6434 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1702, allocations: 12 kB / 0.6434 GB, free: 9.129 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.0002116/0.1704, allocations: 241.2 kB / 0.6437 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.1705, allocations: 124.7 kB / 0.6438 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.1705, allocations: 118.9 kB / 0.6439 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/0.1706, allocations: 180.2 kB / 0.6441 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-05/0.1706, allocations: 101 kB / 0.6442 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.1707, allocations: 209.6 kB / 0.6444 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.1708, allocations: 196.1 kB / 0.6446 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.171, allocations: 101 kB / 0.6447 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.171, allocations: 180.2 kB / 0.6448 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.647e-05/0.1711, allocations: 255.6 kB / 0.6451 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001633/0.1713, allocations: 410.9 kB / 0.6455 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.306e-05/0.1714, allocations: 109 kB / 0.6456 GB, free: 6.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.1716, allocations: 279.1 kB / 0.6458 GB, free: 6.559 MB / 494.1 MB Notification: Performance of Backend: time 4.1e-07/0.1716, allocations: 4 kB / 0.6458 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.1724, allocations: 365.8 kB / 0.6462 GB, free: 6.195 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007952/0.1732, allocations: 1.183 MB / 0.6473 GB, free: 4.957 MB / 494.1 MB Notification: Performance of Templates: time 0.005916/0.1791, allocations: 3.1 MB / 0.6504 GB, free: 1.855 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)