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: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 101.3 kB / 16.4 MB, free: 6.488 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.001371/0.001371, allocations: 192 kB / 17.34 MB, free: 5.727 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.438/1.438, 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.827/0.827, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 66.98 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.145, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006173/0.1512, allocations: 4.352 MB / 0.6548 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.1542, allocations: 1.858 MB / 0.6566 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1543, allocations: 11.94 kB / 0.6566 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.156, allocations: 0.6021 MB / 0.6572 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.1565, allocations: 254.6 kB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.1571, allocations: 255.4 kB / 0.6577 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.1578, allocations: 0.6035 MB / 0.6583 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.1585, allocations: 463 kB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1587, allocations: 243.2 kB / 0.6589 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1592, allocations: 271 kB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.1593, allocations: 40 kB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.1597, allocations: 259.4 kB / 0.6595 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1599, allocations: 147.7 kB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1601, allocations: 222.9 kB / 0.6598 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.1609, allocations: 0.6071 MB / 0.6604 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1609, allocations: 0 / 0.6604 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1609, allocations: 0 / 0.6604 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1609, allocations: 4 kB / 0.6604 GB, free: 9.457 MB / 0.4981 GB 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.00123/0.1621, allocations: 0.744 MB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1622, allocations: 11.97 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.018e-05/0.1623, allocations: 74.72 kB / 0.6612 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.1632, allocations: 148.5 kB / 0.6614 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1637, allocations: 342.6 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.1638, allocations: 25.38 kB / 0.6617 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.1638, allocations: 40.36 kB / 0.6618 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.1646, allocations: 0.5277 MB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1647, allocations: 3.938 kB / 0.6623 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.1647, allocations: 19.98 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.1648, allocations: 36.62 kB / 0.6624 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.1654, allocations: 386.3 kB / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.168, allocations: 2.396 MB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1686, allocations: 262.5 kB / 0.6653 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1688, allocations: 108.8 kB / 0.6654 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1688, allocations: 0 / 0.6654 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1688, allocations: 42.5 kB / 0.6655 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.1688, allocations: 0 / 0.6655 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.002222/0.1711, allocations: 1.132 MB / 0.6666 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1711, allocations: 59.41 kB / 0.6666 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.1715, allocations: 300.5 kB / 0.6669 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1715, allocations: 29.64 kB / 0.6669 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1717, allocations: 236.1 kB / 0.6672 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.1717, allocations: 87.25 kB / 0.6672 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1719, allocations: 69.98 kB / 0.6673 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.172, allocations: 338.8 kB / 0.6676 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1722, allocations: 100.6 kB / 0.6677 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.1725, allocations: 183.8 kB / 0.6679 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.1729, allocations: 316.9 kB / 0.6682 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1729, allocations: 0 / 0.6682 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007813/0.1737, allocations: 450 kB / 0.6686 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1737, allocations: 8 kB / 0.6686 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1737, allocations: 4 kB / 0.6686 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.1741, allocations: 98.67 kB / 0.6687 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1744, allocations: 63.91 kB / 0.6688 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.1781, allocations: 4.4 MB / 0.6731 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1783, allocations: 8 kB / 0.6731 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.1784, allocations: 8 kB / 0.6731 GB, free: 11.43 MB / 0.5137 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.000215/0.1786, allocations: 193.8 kB / 0.6733 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.1787, allocations: 31.75 kB / 0.6733 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.1787, allocations: 42.25 kB / 0.6734 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1787, allocations: 4 kB / 0.6734 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1788, allocations: 0 / 0.6734 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1788, allocations: 0 / 0.6734 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1793, allocations: 397.4 kB / 0.6737 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1793, allocations: 7.938 kB / 0.6738 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.1795, allocations: 39.92 kB / 0.6738 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.1798, allocations: 90.48 kB / 0.6739 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1798, allocations: 8 kB / 0.6739 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.1834, allocations: 4.387 MB / 0.6782 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1834, allocations: 8.094 kB / 0.6782 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.1843, allocations: 0.5483 MB / 0.6787 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.1845, allocations: 128.9 kB / 0.6788 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1845, allocations: 0 / 0.6788 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1848, allocations: 20 kB / 0.6789 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1848, allocations: 23.97 kB / 0.6789 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1848, allocations: 4 kB / 0.6789 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002244/0.1851, allocations: 215 kB / 0.6791 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.225e-06/0.1851, allocations: 4 kB / 0.6791 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004485/0.1855, allocations: 95.94 kB / 0.6792 GB, free: 4.68 MB / 0.5137 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.001188/0.1867, allocations: 1.104 MB / 0.6803 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.1876, allocations: 0.6051 MB / 0.6809 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1876, allocations: 0 / 0.6809 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.1882, allocations: 477.2 kB / 0.6813 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1887, allocations: 74.42 kB / 0.6814 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.1931, allocations: 3.382 MB / 0.6847 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1936, allocations: 0.835 MB / 0.6855 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000195/0.1938, allocations: 62.92 kB / 0.6856 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.194, allocations: 111.4 kB / 0.6857 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.194, allocations: 0 / 0.6857 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.233, allocations: 7.777 MB / 0.6933 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.29, allocations: 9.891 kB / 0.6933 GB, free: 6.102 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)