Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 115.4 kB / 17.08 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.001073/0.001073, allocations: 196.1 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.355/1.355, 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.7218/0.7218, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 70.14 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005055/0.1555, allocations: 3.059 MB / 0.6357 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1578, allocations: 1.324 MB / 0.637 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.158, allocations: 4 kB / 0.637 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1592, allocations: 350.7 kB / 0.6373 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1597, allocations: 139.3 kB / 0.6375 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.1601, allocations: 137.9 kB / 0.6376 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.1606, allocations: 303 kB / 0.6379 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.1611, allocations: 236.2 kB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1613, allocations: 123.5 kB / 0.6382 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1616, allocations: 139.5 kB / 0.6384 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1617, allocations: 20 kB / 0.6384 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.162, allocations: 159.7 kB / 0.6385 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.1621, allocations: 83.78 kB / 0.6386 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1623, allocations: 111.5 kB / 0.6387 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.1627, allocations: 342.9 kB / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1627, allocations: 4 kB / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1627, allocations: 0 / 0.639 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1627, allocations: 0 / 0.639 GB, free: 13.92 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008045/0.1635, allocations: 0.5068 MB / 0.6395 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1636, allocations: 12.03 kB / 0.6396 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.1641, allocations: 80.58 kB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1644, allocations: 243.9 kB / 0.6399 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1645, allocations: 12.75 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1645, allocations: 20.31 kB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.165, allocations: 311.3 kB / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.165, allocations: 0 / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.165, allocations: 4 kB / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.1651, allocations: 28.25 kB / 0.6402 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.1654, allocations: 196.9 kB / 0.6404 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.1668, allocations: 1.456 MB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1671, allocations: 179.7 kB / 0.642 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1671, allocations: 28.84 kB / 0.642 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1672, allocations: 4 kB / 0.642 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1672, allocations: 34.56 kB / 0.6421 GB, free: 10.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.1672, allocations: 0 / 0.6421 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.1677, allocations: 227.3 kB / 0.6423 GB, free: 10.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1677, allocations: 55.41 kB / 0.6423 GB, free: 10.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1679, allocations: 199.4 kB / 0.6425 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1679, allocations: 25.7 kB / 0.6426 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.168, allocations: 163.6 kB / 0.6427 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1681, allocations: 31.78 kB / 0.6427 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.1681, allocations: 33.72 kB / 0.6428 GB, free: 9.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.1682, allocations: 326.8 kB / 0.6431 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.1683, allocations: 43.97 kB / 0.6431 GB, free: 9.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.1684, allocations: 102.5 kB / 0.6432 GB, free: 9.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1686, allocations: 140.4 kB / 0.6434 GB, free: 9.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1686, allocations: 4 kB / 0.6434 GB, free: 9.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002828/0.1689, allocations: 190.2 kB / 0.6435 GB, free: 8.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1689, allocations: 8 kB / 0.6435 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1689, allocations: 0 / 0.6435 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.1691, allocations: 25.06 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1692, allocations: 43.98 kB / 0.6436 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1702, allocations: 1.414 MB / 0.645 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1703, allocations: 15.83 kB / 0.645 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1704, allocations: 15.98 kB / 0.645 GB, free: 7.191 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.1705, allocations: 153.6 kB / 0.6452 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1706, allocations: 15.81 kB / 0.6452 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.1706, allocations: 17.41 kB / 0.6452 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1706, allocations: 64 / 0.6452 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1706, allocations: 4 kB / 0.6452 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1706, allocations: 3.984 kB / 0.6452 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1711, allocations: 443.2 kB / 0.6456 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1711, allocations: 0 / 0.6456 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.1711, allocations: 11.98 kB / 0.6456 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.962e-05/0.1712, allocations: 20.84 kB / 0.6457 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1712, allocations: 0 / 0.6457 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008894/0.1721, allocations: 1.422 MB / 0.6471 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1721, allocations: 0 / 0.6471 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1724, allocations: 216.5 kB / 0.6473 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.1724, allocations: 100.9 kB / 0.6474 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1725, allocations: 4 kB / 0.6474 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1726, allocations: 3.984 kB / 0.6474 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.1726, allocations: 8.062 kB / 0.6474 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.1726, allocations: 4 kB / 0.6474 GB, free: 4.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1727, allocations: 140.4 kB / 0.6475 GB, free: 4.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1727, allocations: 0 / 0.6475 GB, free: 4.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1731, allocations: 51.84 kB / 0.6476 GB, free: 4.348 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.1732, allocations: 99.25 kB / 0.6477 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1735, allocations: 218.7 kB / 0.6479 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1736, allocations: 0 / 0.6479 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1737, allocations: 146.7 kB / 0.648 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1741, allocations: 31.97 kB / 0.648 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.1747, allocations: 388.8 kB / 0.6484 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.175, allocations: 0.7552 MB / 0.6491 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.175, allocations: 15.44 kB / 0.6492 GB, free: 2.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1751, allocations: 0 / 0.6492 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Templates: time 0.004627/0.1797, allocations: 2.983 MB / 0.6521 GB, free: 15.64 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)