Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.951/1.951, allocations: 287.5 MB / 302.6 MB, free: 8.125 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.0009349/0.0009349, allocations: 182.7 kB / 371.2 MB, free: 10.84 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.443/1.443, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007972/0.0007971, allocations: 92.53 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004452, allocations: 10.69 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002562/0.1953, allocations: 2.264 MB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.197, allocations: 1.264 MB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.1972, allocations: 7.938 kB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1974, allocations: 23.78 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1978, allocations: 119.5 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1982, allocations: 140.8 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.1986, allocations: 295.1 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.199, allocations: 305.9 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1992, allocations: 83.69 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1995, allocations: 119.5 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1995, allocations: 8 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1997, allocations: 71.89 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1998, allocations: 55.86 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1998, allocations: 57.58 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2, allocations: 203.8 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2001, allocations: 8 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2001, allocations: 4 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2001, allocations: 0 / 0.9836 GB, free: 23.12 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.0006656/0.2008, allocations: 475 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2008, allocations: 12.03 kB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.2013, allocations: 60.67 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2015, allocations: 243.9 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2015, allocations: 16.66 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2016, allocations: 12.38 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.202, allocations: 304.9 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2021, allocations: 11.92 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2021, allocations: 7.984 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.2021, allocations: 28.27 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.2026, allocations: 260.6 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2039, allocations: 1.517 MB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.2044, allocations: 261 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.2046, allocations: 129.6 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2046, allocations: 8 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2046, allocations: 38.55 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.655e-06/0.2046, allocations: 0 / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007085/0.2054, allocations: 352 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2054, allocations: 92.97 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2055, allocations: 170.6 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2056, allocations: 25.7 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.2056, allocations: 148.1 kB / 0.9876 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.2057, allocations: 51.19 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.2057, allocations: 12.03 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.2058, allocations: 330.8 kB / 0.988 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.206, allocations: 99.94 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.2062, allocations: 171.6 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2065, allocations: 284.3 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2066, allocations: 0 / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004701/0.207, allocations: 317.1 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.2071, allocations: 143.2 kB / 0.9889 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2071, allocations: 4 kB / 0.9889 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2071, allocations: 4 kB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.2074, allocations: 59.89 kB / 0.989 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2074, allocations: 7.938 kB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2076, allocations: 35.81 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2077, allocations: 4 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.2077, allocations: 4 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004085/0.2081, allocations: 253 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2081, allocations: 0 / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.2081, allocations: 4 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.2083, allocations: 56.12 kB / 0.9893 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2083, allocations: 4 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.2085, allocations: 43.75 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2085, allocations: 4 kB / 0.9894 GB, free: 16.73 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.0001129/0.2086, allocations: 221 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.2087, allocations: 19.81 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.2092, allocations: 279 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2092, allocations: 0 / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2092, allocations: 4 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2092, allocations: 0 / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.21, allocations: 0.685 MB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2101, allocations: 4 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2103, allocations: 47.89 kB / 0.9906 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2103, allocations: 8.125 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2103, allocations: 4 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.2103, allocations: 7.938 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2103, allocations: 3.984 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.2108, allocations: 470.6 kB / 0.9911 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.2109, allocations: 116.8 kB / 0.9912 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.2109, allocations: 8 kB / 0.9912 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.2111, allocations: 27.91 kB / 0.9912 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.2112, allocations: 15.98 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2112, allocations: 4 kB / 0.9913 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.2113, allocations: 131.2 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004129/0.2117, allocations: 79.84 kB / 0.9915 GB, free: 14.49 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.0001085/0.2118, allocations: 103.9 kB / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.2125, allocations: 383.3 kB / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2125, allocations: 0 / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2127, allocations: 123.8 kB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.2132, allocations: 36.25 kB / 0.9921 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.2139, allocations: 0.5146 MB / 0.9926 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2141, allocations: 0.7439 MB / 0.9933 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.2143, allocations: 77.47 kB / 0.9934 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.2143, allocations: 15.44 kB / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2143, allocations: 0 / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.004367/0.2187, allocations: 2.082 MB / 0.9954 GB, free: 10.37 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)