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.001314/0.001314, allocations: 108 kB / 15.99 MB, free: 5.906 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.001226/0.001226, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 281.9 kB / 291 MB, free: 14.69 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 178.5 MB / 0.5076 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 99.84 kB / 0.6066 GB, free: 9.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1683, allocations: 89.14 MB / 0.6936 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004265/0.1726, allocations: 2.671 MB / 0.6962 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1748, allocations: 1.313 MB / 0.6975 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.175, allocations: 7.938 kB / 0.6975 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.1756, allocations: 151.5 kB / 0.6977 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.176, allocations: 159.4 kB / 0.6978 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1764, allocations: 151.7 kB / 0.698 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.1768, allocations: 263.1 kB / 0.6982 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.1771, allocations: 169.7 kB / 0.6984 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1773, allocations: 107.6 kB / 0.6985 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1776, allocations: 123.6 kB / 0.6986 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.1776, allocations: 16 kB / 0.6986 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1779, allocations: 147.6 kB / 0.6988 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.178, allocations: 63.81 kB / 0.6988 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1781, allocations: 91.53 kB / 0.6989 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1784, allocations: 231.4 kB / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1784, allocations: 0 / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1784, allocations: 3.938 kB / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1784, allocations: 0 / 0.6991 GB, free: 10.79 MB / 0.545 GB 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.0008399/0.1792, allocations: 495 kB / 0.6996 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1793, allocations: 12.03 kB / 0.6996 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.1798, allocations: 68.58 kB / 0.6997 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1801, allocations: 242.7 kB / 0.6999 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1801, allocations: 16.64 kB / 0.6999 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1801, allocations: 16.38 kB / 0.7 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.1807, allocations: 308.7 kB / 0.7002 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1807, allocations: 0 / 0.7002 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.1808, allocations: 4 kB / 0.7003 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.1808, allocations: 28.27 kB / 0.7003 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.1814, allocations: 268.5 kB / 0.7005 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1831, allocations: 1.502 MB / 0.702 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.1836, allocations: 261 kB / 0.7022 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.1839, allocations: 129.6 kB / 0.7024 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1839, allocations: 0 / 0.7024 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1839, allocations: 42.5 kB / 0.7024 GB, free: 7.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.885e-06/0.1839, allocations: 0 / 0.7024 GB, free: 7.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007856/0.1847, allocations: 347.3 kB / 0.7027 GB, free: 6.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1848, allocations: 85.23 kB / 0.7028 GB, free: 6.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.185, allocations: 167.8 kB / 0.703 GB, free: 6.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.185, allocations: 33.7 kB / 0.703 GB, free: 6.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1851, allocations: 136 kB / 0.7031 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.1852, allocations: 63.17 kB / 0.7032 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.1853, allocations: 41.7 kB / 0.7032 GB, free: 6.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1854, allocations: 330.8 kB / 0.7036 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1857, allocations: 112.8 kB / 0.7037 GB, free: 5.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1859, allocations: 159.6 kB / 0.7038 GB, free: 5.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1864, allocations: 277.2 kB / 0.7041 GB, free: 5.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1864, allocations: 4 kB / 0.7041 GB, free: 5.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005614/0.187, allocations: 313.1 kB / 0.7044 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.187, allocations: 4 kB / 0.7044 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.187, allocations: 4 kB / 0.7044 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.1871, allocations: 4 kB / 0.7044 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.1873, allocations: 51.89 kB / 0.7045 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1874, allocations: 8.219 kB / 0.7045 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1876, allocations: 31.81 kB / 0.7045 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1876, allocations: 11.98 kB / 0.7045 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002732/0.1879, allocations: 203.6 kB / 0.7047 GB, free: 4.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002419/0.1881, allocations: 158.9 kB / 0.7048 GB, free: 4.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004083/0.1885, allocations: 247.5 kB / 0.7051 GB, free: 4.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.1885, allocations: 0 / 0.7051 GB, free: 4.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005089/0.1891, allocations: 288.1 kB / 0.7054 GB, free: 3.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.1891, allocations: 8 kB / 0.7054 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.1891, allocations: 0 / 0.7054 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-06/0.1891, allocations: 4 kB / 0.7054 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.1893, allocations: 51.89 kB / 0.7054 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1893, allocations: 4 kB / 0.7054 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1895, allocations: 31.81 kB / 0.7055 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1895, allocations: 8 kB / 0.7055 GB, free: 3.848 MB / 0.545 GB 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.0001293/0.1897, allocations: 205.3 kB / 0.7057 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1897, allocations: 15.81 kB / 0.7057 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.1903, allocations: 267 kB / 0.7059 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1903, allocations: 4 kB / 0.7059 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1903, allocations: 3.938 kB / 0.7059 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1903, allocations: 0 / 0.7059 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1914, allocations: 0.6849 MB / 0.7066 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1914, allocations: 0 / 0.7066 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.1917, allocations: 47.89 kB / 0.7066 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1917, allocations: 0 / 0.7066 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.1917, allocations: 15.94 kB / 0.7067 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1917, allocations: 4.125 kB / 0.7067 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1917, allocations: 4 kB / 0.7067 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.1923, allocations: 445.9 kB / 0.7071 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1924, allocations: 112.8 kB / 0.7072 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1925, allocations: 15.92 kB / 0.7072 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1927, allocations: 11.98 kB / 0.7072 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1927, allocations: 19.92 kB / 0.7072 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1927, allocations: 4 kB / 0.7073 GB, free: 1.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000115/0.1929, allocations: 131.2 kB / 0.7074 GB, free: 1.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1929, allocations: 4 kB / 0.7074 GB, free: 1.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004539/0.1933, allocations: 79.84 kB / 0.7075 GB, free: 1.668 MB / 0.545 GB 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.0001187/0.1935, allocations: 107.2 kB / 0.7076 GB, free: 1.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007577/0.1942, allocations: 386.7 kB / 0.7079 GB, free: 1.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1942, allocations: 4 kB / 0.7079 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1945, allocations: 111.9 kB / 0.708 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.1949, allocations: 43.3 kB / 0.7081 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.1958, allocations: 0.5394 MB / 0.7086 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2388/0.4346, allocations: 0.737 MB / 0.7093 GB, free: 49.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.4348, allocations: 21.88 kB / 0.7093 GB, free: 49.55 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.4348, allocations: 3.594 kB / 0.7094 GB, free: 49.55 MB / 0.545 GB Notification: Performance of Templates: time 0.003936/0.4387, allocations: 2.579 MB / 0.7119 GB, free: 49.52 MB / 0.545 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)