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.001546/0.001546, allocations: 109.7 kB / 16.41 MB, free: 6.504 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.001914/0.001914, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.522/1.522, allocations: 222.9 MB / 241 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.7631/0.7631, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.12 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 76.17 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002283/0.1512, allocations: 1.405 MB / 0.6334 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.1542, allocations: 2.67 MB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1543, allocations: 0 / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1557, allocations: 0.5813 MB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.1557, allocations: 19.84 kB / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.648e-06/0.1557, allocations: 4 kB / 0.6366 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.156, allocations: 158.9 kB / 0.6368 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.1561, allocations: 32.39 kB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.1562, allocations: 63.66 kB / 0.6369 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1563, allocations: 83.53 kB / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1563, allocations: 0 / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.1573, allocations: 471.3 kB / 0.6374 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1573, allocations: 31.84 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.1574, allocations: 103.3 kB / 0.6375 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.158, allocations: 438.2 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.158, allocations: 0 / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1581, allocations: 0 / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1581, allocations: 0 / 0.6379 GB, free: 14.38 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.0007343/0.1588, allocations: 0.5529 MB / 0.6385 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1589, allocations: 19.97 kB / 0.6385 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.159, allocations: 99.94 kB / 0.6386 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1593, allocations: 306.2 kB / 0.6389 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.1593, allocations: 154.9 kB / 0.639 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.1594, allocations: 150.9 kB / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.1595, allocations: 109.5 kB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1595, allocations: 91.34 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.1595, allocations: 154.5 kB / 0.6395 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.1596, allocations: 150.6 kB / 0.6397 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.1596, allocations: 150.6 kB / 0.6398 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1601, allocations: 0.5327 MB / 0.6403 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1602, allocations: 173.1 kB / 0.6405 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.1603, allocations: 84.08 kB / 0.6406 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1603, allocations: 75.28 kB / 0.6406 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.1604, allocations: 109.8 kB / 0.6408 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.1604, allocations: 0 / 0.6408 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001978/0.1606, allocations: 61.34 kB / 0.6408 GB, free: 11.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.1607, allocations: 130.7 kB / 0.6409 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1611, allocations: 433.1 kB / 0.6413 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1611, allocations: 29.7 kB / 0.6414 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.1612, allocations: 132.5 kB / 0.6415 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.1613, allocations: 0 / 0.6415 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1614, allocations: 89.66 kB / 0.6416 GB, free: 10.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1615, allocations: 342.8 kB / 0.6419 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1617, allocations: 100.5 kB / 0.642 GB, free: 9.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.1618, allocations: 165.3 kB / 0.6422 GB, free: 9.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1621, allocations: 305.6 kB / 0.6425 GB, free: 9.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1622, allocations: 4 kB / 0.6425 GB, free: 9.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004887/0.1626, allocations: 325 kB / 0.6428 GB, free: 9.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1627, allocations: 5.406 kB / 0.6428 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1627, allocations: 3.938 kB / 0.6428 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1627, allocations: 4 kB / 0.6428 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.1627, allocations: 0 / 0.6428 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.1627, allocations: 11.92 kB / 0.6428 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1629, allocations: 43.28 kB / 0.6428 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1629, allocations: 4 kB / 0.6428 GB, free: 9.078 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.0002292/0.1631, allocations: 245.3 kB / 0.6431 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.1632, allocations: 120.7 kB / 0.6432 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.1633, allocations: 126.8 kB / 0.6433 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.12e-05/0.1633, allocations: 176.3 kB / 0.6435 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/0.1634, allocations: 180.2 kB / 0.6437 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.384e-05/0.1635, allocations: 180.3 kB / 0.6438 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.1638, allocations: 477.1 kB / 0.6443 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.1638, allocations: 108.9 kB / 0.6444 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.1639, allocations: 105 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.94e-05/0.164, allocations: 184.2 kB / 0.6447 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.1641, allocations: 180.2 kB / 0.6448 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.731e-05/0.1642, allocations: 188.5 kB / 0.645 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001006/0.1643, allocations: 180.2 kB / 0.6452 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1645, allocations: 327.4 kB / 0.6455 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1646, allocations: 205.8 kB / 0.6457 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.1648, allocations: 188.2 kB / 0.6459 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1649, allocations: 108.9 kB / 0.646 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.165, allocations: 176.3 kB / 0.6461 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.1651, allocations: 104.9 kB / 0.6462 GB, free: 5.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.1654, allocations: 283.1 kB / 0.6465 GB, free: 5.098 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1654, allocations: 0 / 0.6465 GB, free: 5.098 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.1659, allocations: 83.98 kB / 0.6466 GB, free: 5.016 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.0004766/0.1664, allocations: 306.3 kB / 0.6469 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1667, allocations: 159.9 kB / 0.647 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1667, allocations: 0 / 0.647 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.1667, allocations: 4 kB / 0.647 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.1672, allocations: 461.6 kB / 0.6475 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.168, allocations: 0.5026 MB / 0.648 GB, free: 3.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1683, allocations: 0.7704 MB / 0.6487 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.1683, allocations: 7.984 kB / 0.6487 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.1684, allocations: 11.44 kB / 0.6487 GB, free: 2.742 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1684, allocations: 0 / 0.6487 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Templates: time 0.006335/0.1747, allocations: 3.064 MB / 0.6517 GB, free: 15.68 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)