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.00137/0.001371, allocations: 118.9 kB / 17.09 MB, free: 6.012 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.001447/0.001447, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7061/0.7061, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.89 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002584/0.1358, allocations: 1.408 MB / 0.6341 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.1391, allocations: 2.666 MB / 0.6367 GB, free: 316 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.1392, allocations: 0 / 0.6367 GB, free: 316 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.1409, allocations: 0.5751 MB / 0.6373 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.1409, allocations: 15.91 kB / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.141, allocations: 7.938 kB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1412, allocations: 166.8 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.1413, allocations: 28.41 kB / 0.6375 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.1414, allocations: 63.67 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1415, allocations: 83.58 kB / 0.6376 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1415, allocations: 0 / 0.6376 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1426, allocations: 471.3 kB / 0.6381 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.1427, allocations: 31.84 kB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1428, allocations: 99.36 kB / 0.6382 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.1435, allocations: 442.3 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1435, allocations: 0 / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1435, allocations: 0 / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1435, allocations: 0 / 0.6386 GB, free: 14.34 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.0007993/0.1443, allocations: 0.549 MB / 0.6391 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1444, allocations: 16.03 kB / 0.6392 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.1446, allocations: 99.94 kB / 0.6392 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1448, allocations: 302.2 kB / 0.6395 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.1449, allocations: 158.9 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.145, allocations: 158.9 kB / 0.6398 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.931e-05/0.145, allocations: 105.5 kB / 0.6399 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1451, allocations: 79.47 kB / 0.64 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.1451, allocations: 158.5 kB / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.1452, allocations: 150.6 kB / 0.6403 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.354e-05/0.1452, allocations: 150.6 kB / 0.6405 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1456, allocations: 0.5366 MB / 0.641 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.1457, allocations: 177.1 kB / 0.6411 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.1458, allocations: 80.14 kB / 0.6412 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1458, allocations: 75.28 kB / 0.6413 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.1459, allocations: 105.8 kB / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1459, allocations: 0 / 0.6414 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001824/0.1461, allocations: 65.3 kB / 0.6415 GB, free: 11.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1461, allocations: 126.7 kB / 0.6416 GB, free: 11.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.1466, allocations: 433.2 kB / 0.642 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1466, allocations: 29.69 kB / 0.642 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.1467, allocations: 136.5 kB / 0.6421 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.1467, allocations: 0 / 0.6421 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.1468, allocations: 85.67 kB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1469, allocations: 342.8 kB / 0.6426 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.147, allocations: 100.5 kB / 0.6427 GB, free: 9.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1472, allocations: 165.3 kB / 0.6428 GB, free: 9.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1475, allocations: 301.6 kB / 0.6431 GB, free: 9.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1475, allocations: 8 kB / 0.6431 GB, free: 9.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005065/0.148, allocations: 321 kB / 0.6434 GB, free: 9.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1481, allocations: 13.7 kB / 0.6434 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1481, allocations: 3.938 kB / 0.6434 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1481, allocations: 4 kB / 0.6434 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.1481, allocations: 3.938 kB / 0.6434 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.1481, allocations: 4 kB / 0.6434 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1483, allocations: 47.28 kB / 0.6435 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1483, allocations: 8 kB / 0.6435 GB, free: 9.043 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.0002186/0.1485, allocations: 241.3 kB / 0.6437 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.1486, allocations: 128.6 kB / 0.6438 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.1486, allocations: 114.9 kB / 0.644 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.1487, allocations: 184.2 kB / 0.6441 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.1488, allocations: 180.2 kB / 0.6443 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.1488, allocations: 180.3 kB / 0.6445 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1491, allocations: 477.1 kB / 0.6449 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.1492, allocations: 105 kB / 0.645 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.1492, allocations: 105 kB / 0.6451 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.1493, allocations: 188.2 kB / 0.6453 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.1493, allocations: 184.2 kB / 0.6455 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-05/0.1494, allocations: 180.4 kB / 0.6457 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.1495, allocations: 188.2 kB / 0.6458 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1496, allocations: 327.4 kB / 0.6461 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.1497, allocations: 201.8 kB / 0.6463 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.1498, allocations: 188.1 kB / 0.6465 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.15, allocations: 105 kB / 0.6466 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.15, allocations: 180.2 kB / 0.6468 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.1501, allocations: 101 kB / 0.6469 GB, free: 5.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.1503, allocations: 279.1 kB / 0.6472 GB, free: 5.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1503, allocations: 0 / 0.6472 GB, free: 5.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1507, allocations: 87.98 kB / 0.6472 GB, free: 4.984 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.0003556/0.1511, allocations: 308.4 kB / 0.6475 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1513, allocations: 163.9 kB / 0.6477 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1513, allocations: 0 / 0.6477 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1513, allocations: 3.938 kB / 0.6477 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1517, allocations: 461.6 kB / 0.6481 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.1523, allocations: 0.516 MB / 0.6486 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1527, allocations: 0.7743 MB / 0.6494 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.1527, allocations: 15.44 kB / 0.6494 GB, free: 2.688 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1527, allocations: 0 / 0.6494 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Templates: time 0.004789/0.1575, allocations: 3.149 MB / 0.6525 GB, free: 15.54 MB / 0.4981 GB 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)