Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 106 kB / 16.4 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.001091/0.001091, 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6809/0.6809, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 60.48 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1405, allocations: 76.18 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005143/0.1457, allocations: 4.339 MB / 0.6363 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1482, allocations: 1.854 MB / 0.6381 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1483, allocations: 11.94 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1497, allocations: 0.6019 MB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.1502, allocations: 262.6 kB / 0.639 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.1507, allocations: 255.4 kB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.1513, allocations: 0.6073 MB / 0.6398 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005989/0.1519, allocations: 466.8 kB / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1521, allocations: 251.1 kB / 0.6405 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.1525, allocations: 267 kB / 0.6407 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.1526, allocations: 36 kB / 0.6408 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.153, allocations: 251.5 kB / 0.641 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1531, allocations: 151.5 kB / 0.6411 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.1533, allocations: 215 kB / 0.6414 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.1539, allocations: 0.6191 MB / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1539, allocations: 0 / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1539, allocations: 0 / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1539, allocations: 0 / 0.642 GB, free: 10.26 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001075/0.155, allocations: 0.7253 MB / 0.6427 GB, free: 9.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.155, allocations: 8.031 kB / 0.6427 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.156, allocations: 148.2 kB / 0.6428 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.1564, allocations: 342.4 kB / 0.6431 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1564, allocations: 25.38 kB / 0.6432 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1565, allocations: 32.38 kB / 0.6432 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.1572, allocations: 0.5434 MB / 0.6437 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1572, allocations: 0 / 0.6437 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1573, allocations: 19.98 kB / 0.6437 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.1573, allocations: 28.64 kB / 0.6438 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.1579, allocations: 390.2 kB / 0.6441 GB, free: 7.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.1601, allocations: 2.395 MB / 0.6465 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.1606, allocations: 274.4 kB / 0.6467 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1607, allocations: 104.8 kB / 0.6468 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1608, allocations: 4 kB / 0.6469 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1608, allocations: 34.56 kB / 0.6469 GB, free: 4.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.1608, allocations: 0 / 0.6469 GB, free: 4.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001946/0.1627, allocations: 1.127 MB / 0.648 GB, free: 3.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.1628, allocations: 51.41 kB / 0.648 GB, free: 3.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1631, allocations: 304.4 kB / 0.6483 GB, free: 3.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1631, allocations: 33.7 kB / 0.6484 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1632, allocations: 223.6 kB / 0.6486 GB, free: 2.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1633, allocations: 94.73 kB / 0.6487 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.1634, allocations: 58.03 kB / 0.6487 GB, free: 2.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1635, allocations: 342.7 kB / 0.649 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1636, allocations: 104.6 kB / 0.6491 GB, free: 2.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1638, allocations: 187.8 kB / 0.6493 GB, free: 2.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1642, allocations: 317 kB / 0.6496 GB, free: 1.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1642, allocations: 4 kB / 0.6496 GB, free: 1.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006635/0.1649, allocations: 450.3 kB / 0.6501 GB, free: 1.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1649, allocations: 8 kB / 0.6501 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1649, allocations: 0 / 0.6501 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.1652, allocations: 98.84 kB / 0.6502 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1655, allocations: 63.91 kB / 0.6502 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.1683, allocations: 4.395 MB / 0.6545 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1686, allocations: 12 kB / 0.6545 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1686, allocations: 12.16 kB / 0.6545 GB, free: 12.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1688, allocations: 177.8 kB / 0.6547 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1688, allocations: 35.56 kB / 0.6547 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.1689, allocations: 42.31 kB / 0.6548 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1689, allocations: 4 kB / 0.6548 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1689, allocations: 0 / 0.6548 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1689, allocations: 3.984 kB / 0.6548 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1693, allocations: 397.4 kB / 0.6552 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1693, allocations: 3.984 kB / 0.6552 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1695, allocations: 39.86 kB / 0.6552 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.1698, allocations: 90.44 kB / 0.6553 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1698, allocations: 8 kB / 0.6553 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.1726, allocations: 4.388 MB / 0.6596 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1726, allocations: 0 / 0.6596 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.1733, allocations: 0.5501 MB / 0.6601 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1734, allocations: 132.9 kB / 0.6602 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1735, allocations: 4 kB / 0.6603 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1737, allocations: 11.98 kB / 0.6603 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1737, allocations: 15.98 kB / 0.6603 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1738, allocations: 4 kB / 0.6603 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000182/0.1739, allocations: 215.1 kB / 0.6605 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1739, allocations: 0 / 0.6605 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003961/0.1743, allocations: 99.94 kB / 0.6606 GB, free: 5.613 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.1745, allocations: 107.2 kB / 0.6607 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007641/0.1752, allocations: 0.6133 MB / 0.6613 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1753, allocations: 0 / 0.6613 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.1757, allocations: 468.6 kB / 0.6617 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.1762, allocations: 83.66 kB / 0.6618 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.1771, allocations: 0.6934 MB / 0.6625 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1775, allocations: 0.8505 MB / 0.6633 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.1777, allocations: 62.94 kB / 0.6634 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1777, allocations: 23.44 kB / 0.6634 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1777, allocations: 0 / 0.6634 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.007749/0.1855, allocations: 4.492 MB / 0.6678 GB, free: 14.14 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)