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.817/1.817, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001175/0.001175, allocations: 194.8 kB / 372 MB, free: 10.29 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.849/1.849, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008301/0.0008304, allocations: 103.8 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007176/0.0007177, allocations: 12.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2685, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002628/0.2711, allocations: 2.272 MB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2728, allocations: 1.268 MB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.273, allocations: 0 / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.2732, allocations: 23.73 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.2736, allocations: 127.4 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.274, allocations: 133.4 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.2744, allocations: 307 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.2748, allocations: 282.1 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.275, allocations: 87.62 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2753, allocations: 115.6 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.2753, allocations: 8 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2755, allocations: 75.88 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.2756, allocations: 51.86 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.2756, allocations: 65.58 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2759, allocations: 203.8 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2759, allocations: 3.938 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2759, allocations: 0 / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2759, allocations: 0 / 0.9845 GB, free: 22.64 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.0006596/0.2766, allocations: 474.8 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2766, allocations: 12.03 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/0.2771, allocations: 79.67 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2774, allocations: 230.6 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2774, allocations: 8.281 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2774, allocations: 15.98 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.2779, allocations: 312.6 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2779, allocations: 0 / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2779, allocations: 4 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.278, allocations: 24.27 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.2784, allocations: 272.6 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.2797, allocations: 1.505 MB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.2801, allocations: 261 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2803, allocations: 141.6 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2804, allocations: 0 / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.2804, allocations: 42.5 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2804, allocations: 0 / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006736/0.2811, allocations: 358.9 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2811, allocations: 85.11 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2812, allocations: 166.7 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2813, allocations: 33.7 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.2813, allocations: 136.1 kB / 0.9885 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2814, allocations: 63.17 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.2814, allocations: 7.938 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.2814, allocations: 322.8 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2816, allocations: 103.9 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2818, allocations: 168.5 kB / 0.9891 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.282, allocations: 130.3 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2821, allocations: 0 / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004724/0.2825, allocations: 325.1 kB / 0.9895 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.2826, allocations: 143.2 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2826, allocations: 0 / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2826, allocations: 4 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2829, allocations: 59.89 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2829, allocations: 4 kB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2831, allocations: 39.81 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2831, allocations: 8 kB / 0.9898 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.2831, allocations: 7.984 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003905/0.2835, allocations: 244.8 kB / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2836, allocations: 0 / 0.99 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/0.2836, allocations: 7.938 kB / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2838, allocations: 59.89 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2838, allocations: 4 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2839, allocations: 23.89 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.284, allocations: 12.16 kB / 0.9901 GB, free: 16.43 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.0001099/0.2841, allocations: 224.9 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.2841, allocations: 19.81 kB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.2846, allocations: 275 kB / 0.9906 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2846, allocations: 4 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2846, allocations: 0 / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2846, allocations: 3.984 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.2855, allocations: 0.6811 MB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2855, allocations: 4 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.2857, allocations: 47.89 kB / 0.9913 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2857, allocations: 7.984 kB / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2857, allocations: 4 kB / 0.9914 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2857, allocations: 7.953 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2857, allocations: 3.938 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.2862, allocations: 467.5 kB / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.2863, allocations: 108.9 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.2863, allocations: 4 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2865, allocations: 19.97 kB / 0.9919 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2866, allocations: 19.94 kB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2866, allocations: 8 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.622e-05/0.2867, allocations: 139.1 kB / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2867, allocations: 0 / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000403/0.2871, allocations: 87.69 kB / 0.9922 GB, free: 14.19 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 9.318e-05/0.2872, allocations: 103.2 kB / 0.9923 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.2878, allocations: 384.3 kB / 0.9927 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2878, allocations: 0.875 kB / 0.9927 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.288, allocations: 123.9 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2885, allocations: 34.36 kB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.2891, allocations: 0.504 MB / 0.9933 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.2893, allocations: 0.7478 MB / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.2895, allocations: 69.48 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.2896, allocations: 23.42 kB / 0.9941 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2896, allocations: 4 kB / 0.9941 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.004205/0.2938, allocations: 2.086 MB / 0.9962 GB, free: 10.07 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)