Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.935/1.935, allocations: 288.4 MB / 303.7 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 176.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 114.2 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004773, allocations: 11.94 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002777/0.2822, allocations: 2.268 MB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2838, allocations: 1.26 MB / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.2839, allocations: 7.938 kB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.2841, allocations: 23.78 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.2845, allocations: 143.4 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.2848, allocations: 157.4 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.2851, allocations: 295 kB / 0.9842 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.2855, allocations: 305.9 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2857, allocations: 79.69 kB / 0.9846 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.2859, allocations: 127.5 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2859, allocations: 8 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.2861, allocations: 175.6 kB / 0.9849 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.2862, allocations: 51.86 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.2863, allocations: 109.2 kB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2865, allocations: 223.7 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2865, allocations: 7.938 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2865, allocations: 0 / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2865, allocations: 0 / 0.9852 GB, free: 22.05 MB / 0.6198 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.0006191/0.2871, allocations: 471 kB / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2872, allocations: 8.031 kB / 0.9857 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.2876, allocations: 68.67 kB / 0.9857 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.2879, allocations: 239 kB / 0.986 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2879, allocations: 16.64 kB / 0.986 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.2879, allocations: 12.38 kB / 0.986 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.2883, allocations: 308.9 kB / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2884, allocations: 0 / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.2884, allocations: 11.98 kB / 0.9863 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.2884, allocations: 20.27 kB / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.2889, allocations: 272.5 kB / 0.9866 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2901, allocations: 1.521 MB / 0.9881 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.2905, allocations: 261 kB / 0.9883 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2907, allocations: 129.6 kB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.2908, allocations: 0 / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2908, allocations: 46.55 kB / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.2908, allocations: 0 / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006451/0.2914, allocations: 350.5 kB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2915, allocations: 81.09 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2916, allocations: 166.6 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2916, allocations: 33.7 kB / 0.9891 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.2917, allocations: 140.1 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2917, allocations: 59.23 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.2918, allocations: 4 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.2918, allocations: 330.8 kB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.292, allocations: 103.9 kB / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2922, allocations: 175.6 kB / 0.9899 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.2926, allocations: 282.7 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2927, allocations: 4 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004823/0.2931, allocations: 313.2 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/0.2933, allocations: 147.2 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2933, allocations: 0 / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2933, allocations: 8 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.2936, allocations: 55.89 kB / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2936, allocations: 11.88 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2938, allocations: 35.81 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2938, allocations: 11.94 kB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.2938, allocations: 5.562 kB / 0.9907 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003966/0.2942, allocations: 244.8 kB / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.2942, allocations: 0 / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.2943, allocations: 7.938 kB / 0.9909 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2945, allocations: 60.12 kB / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2945, allocations: 4 kB / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2946, allocations: 27.81 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2946, allocations: 12 kB / 0.991 GB, free: 15.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.2948, allocations: 217 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.2948, allocations: 15.81 kB / 0.9913 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.2953, allocations: 291.5 kB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2953, allocations: 4 kB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2954, allocations: 4 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2954, allocations: 0 / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.2962, allocations: 0.685 MB / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2962, allocations: 4 kB / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.2964, allocations: 48.08 kB / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2964, allocations: 4 kB / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2965, allocations: 0 / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2965, allocations: 11.88 kB / 0.9923 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2965, allocations: 3.938 kB / 0.9923 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.297, allocations: 459 kB / 0.9927 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.297, allocations: 120.8 kB / 0.9928 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2971, allocations: 0 / 0.9928 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.2973, allocations: 31.91 kB / 0.9929 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.2974, allocations: 15.92 kB / 0.9929 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2974, allocations: 8 kB / 0.9929 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.2975, allocations: 127.2 kB / 0.993 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2975, allocations: 0 / 0.993 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004197/0.2979, allocations: 79.84 kB / 0.9931 GB, free: 13.43 MB / 0.6198 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 (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.000114/0.298, allocations: 107.2 kB / 0.9932 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006124/0.2986, allocations: 382.7 kB / 0.9936 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2986, allocations: 0 / 0.9936 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2988, allocations: 123.8 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.2993, allocations: 33.86 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.2999, allocations: 0.5142 MB / 0.9942 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3001, allocations: 0.7517 MB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.3003, allocations: 77.45 kB / 0.995 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.3004, allocations: 19.44 kB / 0.995 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3004, allocations: 0 / 0.995 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.004267/0.3047, allocations: 2.084 MB / 0.9971 GB, free: 9.289 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)