Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001751, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002042/0.002042, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 286.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 89.92 kB / 0.5947 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.0044/0.1601, allocations: 2.678 MB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1622, allocations: 1.307 MB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1624, allocations: 5.656 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.1631, allocations: 167.4 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.1635, allocations: 160.3 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1639, allocations: 144.8 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1642, allocations: 271.1 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.1646, allocations: 164.5 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1648, allocations: 99.67 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1651, allocations: 143.5 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1651, allocations: 12 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.1653, allocations: 139.7 kB / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.1654, allocations: 71.81 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.1655, allocations: 91.52 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.1659, allocations: 299.1 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1659, allocations: 4 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1659, allocations: 0 / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1659, allocations: 0 / 0.6852 GB, free: 11.32 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000759/0.1667, allocations: 499 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1667, allocations: 12.03 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.1672, allocations: 64.58 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1675, allocations: 241.6 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1675, allocations: 16.64 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1675, allocations: 12.38 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.1681, allocations: 308.8 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1681, allocations: 4 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.1681, allocations: 8 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.1682, allocations: 24.27 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.1687, allocations: 260.5 kB / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1703, allocations: 1.502 MB / 0.6881 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1707, allocations: 257 kB / 0.6883 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.171, allocations: 133.6 kB / 0.6884 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.171, allocations: 8 kB / 0.6884 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1711, allocations: 34.56 kB / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1711, allocations: 0 / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007544/0.1718, allocations: 345.3 kB / 0.6888 GB, free: 7.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1719, allocations: 81.11 kB / 0.6889 GB, free: 7.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.172, allocations: 170.7 kB / 0.689 GB, free: 7.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1721, allocations: 29.7 kB / 0.6891 GB, free: 7.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.1722, allocations: 144 kB / 0.6892 GB, free: 6.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1722, allocations: 55.19 kB / 0.6893 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.1723, allocations: 45.7 kB / 0.6893 GB, free: 6.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1724, allocations: 330.8 kB / 0.6896 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.1727, allocations: 112.7 kB / 0.6897 GB, free: 6.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1729, allocations: 165.1 kB / 0.6899 GB, free: 6.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.1734, allocations: 285 kB / 0.6902 GB, free: 5.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1734, allocations: 0 / 0.6902 GB, free: 5.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005459/0.1739, allocations: 305.2 kB / 0.6905 GB, free: 5.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.174, allocations: 4 kB / 0.6905 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.174, allocations: 4 kB / 0.6905 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.174, allocations: 4.219 kB / 0.6905 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1743, allocations: 63.88 kB / 0.6905 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1743, allocations: 0 / 0.6905 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1745, allocations: 31.83 kB / 0.6906 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1745, allocations: 7.984 kB / 0.6906 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002554/0.1748, allocations: 200.6 kB / 0.6908 GB, free: 5.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002184/0.175, allocations: 152.5 kB / 0.6909 GB, free: 5.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003806/0.1754, allocations: 253.2 kB / 0.6911 GB, free: 4.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.1754, allocations: 3.984 kB / 0.6911 GB, free: 4.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004835/0.1759, allocations: 281.2 kB / 0.6914 GB, free: 4.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.1759, allocations: 8 kB / 0.6914 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1759, allocations: 4 kB / 0.6914 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/0.1759, allocations: 0 / 0.6914 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1762, allocations: 55.89 kB / 0.6915 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1762, allocations: 3.938 kB / 0.6915 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1764, allocations: 31.81 kB / 0.6915 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1764, allocations: 12.22 kB / 0.6915 GB, free: 4.383 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001061/0.1765, allocations: 197.9 kB / 0.6917 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1766, allocations: 15.81 kB / 0.6917 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.1771, allocations: 272.9 kB / 0.692 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1771, allocations: 0 / 0.692 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1771, allocations: 3.938 kB / 0.692 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1771, allocations: 0 / 0.692 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1781, allocations: 0.681 MB / 0.6927 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1781, allocations: 0 / 0.6927 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.1784, allocations: 47.89 kB / 0.6927 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1784, allocations: 4 kB / 0.6927 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1784, allocations: 12.06 kB / 0.6927 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1784, allocations: 4 kB / 0.6927 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1784, allocations: 0 / 0.6927 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.179, allocations: 449.8 kB / 0.6931 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1791, allocations: 120.8 kB / 0.6933 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1791, allocations: 11.94 kB / 0.6933 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1793, allocations: 19.97 kB / 0.6933 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1794, allocations: 11.98 kB / 0.6933 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1794, allocations: 4 kB / 0.6933 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.1795, allocations: 135.8 kB / 0.6934 GB, free: 2.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1795, allocations: 0 / 0.6934 GB, free: 2.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.18, allocations: 83.84 kB / 0.6935 GB, free: 2.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.1801, allocations: 107.2 kB / 0.6936 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007253/0.1808, allocations: 389.5 kB / 0.694 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1808, allocations: 0 / 0.694 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.1811, allocations: 115.8 kB / 0.6941 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1815, allocations: 46.52 kB / 0.6941 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.1823, allocations: 0.503 MB / 0.6946 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1826, allocations: 0.7441 MB / 0.6954 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1828, allocations: 77.47 kB / 0.6954 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.1829, allocations: 19.44 kB / 0.6955 GB, free: 160 kB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1829, allocations: 3.938 kB / 0.6955 GB, free: 156 kB / 494.1 MB Notification: Performance of Templates: time 0.00489/0.1878, allocations: 2.261 MB / 0.6977 GB, free: 13.91 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)