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.0008285/0.0008285, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009314/0.0009314, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 274 kB / 291.3 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9652/0.9652, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.000409, allocations: 13.19 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002908/0.163, allocations: 2.249 MB / 0.6867 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1649, allocations: 1.227 MB / 0.6879 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.165, allocations: 0 / 0.6879 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1652, allocations: 27.78 kB / 0.6879 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1655, allocations: 121.6 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1658, allocations: 138 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.1661, allocations: 297.1 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.1666, allocations: 310.1 kB / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1667, allocations: 83.69 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.167, allocations: 120.8 kB / 0.6889 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.167, allocations: 4 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1671, allocations: 71.89 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.1672, allocations: 62.91 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1673, allocations: 49.64 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1675, allocations: 215.4 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1676, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1676, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1676, allocations: 0 / 0.6893 GB, free: 10.5 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.0007437/0.1683, allocations: 468.4 kB / 0.6898 GB, free: 9.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1684, allocations: 12.03 kB / 0.6898 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.1689, allocations: 68.3 kB / 0.6898 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1691, allocations: 234.7 kB / 0.6901 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1692, allocations: 13.98 kB / 0.6901 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1692, allocations: 15.94 kB / 0.6901 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.1697, allocations: 312.2 kB / 0.6904 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1697, allocations: 0 / 0.6904 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1698, allocations: 0 / 0.6904 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.1698, allocations: 32.25 kB / 0.6904 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.1703, allocations: 273.1 kB / 0.6907 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1717, allocations: 1.51 MB / 0.6922 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.1722, allocations: 261 kB / 0.6924 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1724, allocations: 129.6 kB / 0.6925 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1725, allocations: 0 / 0.6925 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1725, allocations: 34.56 kB / 0.6926 GB, free: 6.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.1725, allocations: 8 kB / 0.6926 GB, free: 6.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007126/0.1732, allocations: 360.7 kB / 0.6929 GB, free: 6.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1733, allocations: 85.23 kB / 0.693 GB, free: 6.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1734, allocations: 175.6 kB / 0.6932 GB, free: 6.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1735, allocations: 33.64 kB / 0.6932 GB, free: 6.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1735, allocations: 140.1 kB / 0.6933 GB, free: 6.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1736, allocations: 55.19 kB / 0.6934 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.1736, allocations: 8 kB / 0.6934 GB, free: 5.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1737, allocations: 322.8 kB / 0.6937 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1739, allocations: 111.9 kB / 0.6938 GB, free: 5.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1742, allocations: 167.6 kB / 0.694 GB, free: 5.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1744, allocations: 130.1 kB / 0.6941 GB, free: 5.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1744, allocations: 0 / 0.6941 GB, free: 5.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000535/0.1749, allocations: 313.2 kB / 0.6944 GB, free: 4.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.175, allocations: 143.2 kB / 0.6945 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1751, allocations: 4 kB / 0.6945 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1751, allocations: 4 kB / 0.6945 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1754, allocations: 59.89 kB / 0.6946 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1754, allocations: 4 kB / 0.6946 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1756, allocations: 39.72 kB / 0.6946 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1756, allocations: 8 kB / 0.6946 GB, free: 4.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-06/0.1756, allocations: 4 kB / 0.6946 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004269/0.176, allocations: 251.6 kB / 0.6949 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.176, allocations: 4 kB / 0.6949 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.176, allocations: 4 kB / 0.6949 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1763, allocations: 55.89 kB / 0.6949 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.1763, allocations: 224 / 0.6949 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1764, allocations: 39.81 kB / 0.695 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1764, allocations: 4 kB / 0.695 GB, free: 4.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.1766, allocations: 229.4 kB / 0.6952 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.1766, allocations: 15.81 kB / 0.6952 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.1772, allocations: 284.9 kB / 0.6955 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1772, allocations: 3.938 kB / 0.6955 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1772, allocations: 4 kB / 0.6955 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1772, allocations: 0 / 0.6955 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.1781, allocations: 0.6849 MB / 0.6962 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1781, allocations: 4 kB / 0.6962 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1784, allocations: 47.89 kB / 0.6962 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1784, allocations: 4.125 kB / 0.6962 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1784, allocations: 8 kB / 0.6962 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1784, allocations: 4 kB / 0.6962 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.1784, allocations: 3.953 kB / 0.6962 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.1789, allocations: 461.8 kB / 0.6967 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.179, allocations: 112.8 kB / 0.6968 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1791, allocations: 8 kB / 0.6968 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1793, allocations: 27.91 kB / 0.6968 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1793, allocations: 19.94 kB / 0.6968 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1793, allocations: 4 kB / 0.6968 GB, free: 2.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1795, allocations: 139.7 kB / 0.697 GB, free: 2.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1795, allocations: 0 / 0.697 GB, free: 2.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.1799, allocations: 79.84 kB / 0.697 GB, free: 2.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.483e-05/0.18, allocations: 103.2 kB / 0.6971 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.1807, allocations: 397.9 kB / 0.6975 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1807, allocations: 0 / 0.6975 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1809, allocations: 111.9 kB / 0.6976 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.1814, allocations: 35.16 kB / 0.6977 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.1821, allocations: 0.5031 MB / 0.6982 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1824, allocations: 0.7441 MB / 0.6989 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1826, allocations: 77.45 kB / 0.699 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.1826, allocations: 15.44 kB / 0.699 GB, free: 4 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1826, allocations: 4 kB / 0.699 GB, free: 0 / 494.1 MB Notification: Performance of Templates: time 0.004598/0.1872, allocations: 2.08 MB / 0.701 GB, free: 13.94 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)