Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007161/0.0007161, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.0008412/0.0008412, allocations: 172.7 kB / 15.95 MB, free: 208 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.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 274.9 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 13.69 kB / 0.598 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004003/0.1532, allocations: 3.681 MB / 0.6881 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1568, allocations: 2.464 MB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.157, allocations: 7.938 kB / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1572, allocations: 67.42 kB / 0.6906 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.1578, allocations: 307.1 kB / 0.6908 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.1588, allocations: 415.8 kB / 0.6912 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008917/0.1597, allocations: 0.7944 MB / 0.692 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008641/0.1606, allocations: 0.5002 MB / 0.6925 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.1609, allocations: 219.2 kB / 0.6927 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.1614, allocations: 323.7 kB / 0.693 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1615, allocations: 20 kB / 0.693 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1619, allocations: 143.8 kB / 0.6932 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.162, allocations: 167.5 kB / 0.6933 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.1621, allocations: 105.5 kB / 0.6934 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.1626, allocations: 0.5259 MB / 0.694 GB, free: 5.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1626, allocations: 7.984 kB / 0.694 GB, free: 5.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1626, allocations: 0 / 0.694 GB, free: 5.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1626, allocations: 0 / 0.694 GB, free: 5.703 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00109/0.1637, allocations: 0.7172 MB / 0.6947 GB, free: 4.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1638, allocations: 8.031 kB / 0.6947 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.1646, allocations: 159.1 kB / 0.6948 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.1652, allocations: 350 kB / 0.6952 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1652, allocations: 32.92 kB / 0.6952 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.1653, allocations: 47.91 kB / 0.6952 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.1666, allocations: 0.8251 MB / 0.696 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.1667, allocations: 4 kB / 0.696 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.1667, allocations: 23.98 kB / 0.6961 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-05/0.1668, allocations: 68.61 kB / 0.6961 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1679, allocations: 0.6502 MB / 0.6968 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.1714, allocations: 4.639 MB / 0.7013 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.1723, allocations: 497 kB / 0.7018 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.1728, allocations: 285.5 kB / 0.702 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.1728, allocations: 8 kB / 0.7021 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1729, allocations: 42.55 kB / 0.7021 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.1729, allocations: 0 / 0.7021 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.00164/0.1745, allocations: 0.8979 MB / 0.703 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1746, allocations: 81.11 kB / 0.703 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1749, allocations: 357.5 kB / 0.7034 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1749, allocations: 33.64 kB / 0.7034 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.1751, allocations: 291 kB / 0.7037 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.1752, allocations: 126.3 kB / 0.7038 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1753, allocations: 8 kB / 0.7038 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1754, allocations: 350.8 kB / 0.7042 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.1759, allocations: 260.9 kB / 0.7044 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.1764, allocations: 478.6 kB / 0.7049 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.177, allocations: 325 kB / 0.7052 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.177, allocations: 4 kB / 0.7052 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001253/0.1782, allocations: 0.7856 MB / 0.7059 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.1784, allocations: 300.4 kB / 0.7062 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.1784, allocations: 8 kB / 0.7062 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1785, allocations: 11.94 kB / 0.7063 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.1791, allocations: 167.7 kB / 0.7064 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.1791, allocations: 19.89 kB / 0.7064 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.1796, allocations: 67.78 kB / 0.7065 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.1796, allocations: 31.97 kB / 0.7065 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.1796, allocations: 4 kB / 0.7065 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009601/0.1806, allocations: 0.6052 MB / 0.7071 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1806, allocations: 8 kB / 0.7071 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1806, allocations: 12.09 kB / 0.7071 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.1811, allocations: 151.7 kB / 0.7073 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1811, allocations: 12 kB / 0.7073 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1814, allocations: 63.64 kB / 0.7074 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.1815, allocations: 24 kB / 0.7074 GB, free: 7.121 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002565/0.1817, allocations: 289.5 kB / 0.7077 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.1818, allocations: 39.53 kB / 0.7077 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1829, allocations: 0.5961 MB / 0.7083 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1829, allocations: 4 kB / 0.7083 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1829, allocations: 0 / 0.7083 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1829, allocations: 0 / 0.7083 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.1853, allocations: 1.619 MB / 0.7099 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1853, allocations: 4 kB / 0.7099 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1858, allocations: 123.8 kB / 0.71 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1859, allocations: 4 kB / 0.71 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.1859, allocations: 16 kB / 0.71 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1859, allocations: 11.94 kB / 0.71 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1859, allocations: 8.156 kB / 0.71 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1869, allocations: 0.8042 MB / 0.7108 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.1871, allocations: 172.4 kB / 0.711 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.1872, allocations: 12 kB / 0.711 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.1876, allocations: 55.88 kB / 0.711 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.1877, allocations: 35.84 kB / 0.7111 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.1877, allocations: 16 kB / 0.7111 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002274/0.1879, allocations: 255.2 kB / 0.7113 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.188, allocations: 0 / 0.7113 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007697/0.1887, allocations: 192 kB / 0.7115 GB, free: 2.691 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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 0.0001287/0.1889, allocations: 111.1 kB / 0.7116 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.1904, allocations: 0.9281 MB / 0.7125 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1904, allocations: 0 / 0.7125 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.1909, allocations: 284.7 kB / 0.7128 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.1916, allocations: 106.6 kB / 0.7129 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1932, allocations: 1.222 MB / 0.7141 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1936, allocations: 0.8673 MB / 0.7149 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005505/0.1942, allocations: 208 kB / 0.7151 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1943, allocations: 31.44 kB / 0.7152 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1944, allocations: 4 kB / 0.7152 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.01008/0.2044, allocations: 5.544 MB / 0.7206 GB, free: 9.344 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)