Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 169.9 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 0.5786 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007795/0.0007795, allocations: 89.98 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 9.281 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2005, allocations: 106.3 MB / 0.9015 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002707/0.2032, allocations: 2.333 MB / 0.9037 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2049, allocations: 1.356 MB / 0.9051 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.2051, allocations: 0 / 0.9051 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2052, allocations: 27.78 kB / 0.9051 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.2056, allocations: 151.4 kB / 0.9052 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.2059, allocations: 166.7 kB / 0.9054 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.2061, allocations: 371 kB / 0.9057 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.2066, allocations: 309.8 kB / 0.906 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2067, allocations: 83.7 kB / 0.9061 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2069, allocations: 119.5 kB / 0.9062 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.207, allocations: 8 kB / 0.9062 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.2072, allocations: 187.6 kB / 0.9064 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.2073, allocations: 55.81 kB / 0.9065 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.2073, allocations: 105.2 kB / 0.9066 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2075, allocations: 231.7 kB / 0.9068 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2076, allocations: 0 / 0.9068 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2076, allocations: 0 / 0.9068 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.2076, allocations: 0 / 0.9068 GB, free: 58.31 MB / 0.6042 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.0005783/0.2082, allocations: 471.1 kB / 0.9072 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2082, allocations: 12.02 kB / 0.9073 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.2086, allocations: 68.58 kB / 0.9073 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.2089, allocations: 239 kB / 0.9076 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2089, allocations: 12.66 kB / 0.9076 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.2089, allocations: 12.38 kB / 0.9076 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.2093, allocations: 317.6 kB / 0.9079 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2094, allocations: 0 / 0.9079 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2094, allocations: 11.98 kB / 0.9079 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.2094, allocations: 32.25 kB / 0.9079 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.2099, allocations: 260.6 kB / 0.9082 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2111, allocations: 1.509 MB / 0.9096 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2115, allocations: 257 kB / 0.9099 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2117, allocations: 141.6 kB / 0.91 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2118, allocations: 3.984 kB / 0.91 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2118, allocations: 38.5 kB / 0.9101 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2118, allocations: 0 / 0.9101 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.000673/0.2125, allocations: 361.3 kB / 0.9104 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2125, allocations: 77.11 kB / 0.9105 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2126, allocations: 179.2 kB / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2127, allocations: 25.7 kB / 0.9107 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.2127, allocations: 148 kB / 0.9108 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2128, allocations: 51.33 kB / 0.9109 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.2128, allocations: 4 kB / 0.9109 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.2129, allocations: 330.8 kB / 0.9112 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2131, allocations: 107.9 kB / 0.9113 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2133, allocations: 171.6 kB / 0.9115 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.2137, allocations: 288.1 kB / 0.9117 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2137, allocations: 4 kB / 0.9117 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004691/0.2141, allocations: 313.2 kB / 0.912 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.2142, allocations: 143.2 kB / 0.9122 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2142, allocations: 4 kB / 0.9122 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2142, allocations: 4 kB / 0.9122 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2145, allocations: 55.89 kB / 0.9122 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2145, allocations: 7.938 kB / 0.9122 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2147, allocations: 39.75 kB / 0.9123 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2147, allocations: 15.94 kB / 0.9123 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.2147, allocations: 6.656 kB / 0.9123 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003828/0.2151, allocations: 245.8 kB / 0.9125 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.2152, allocations: 4 kB / 0.9125 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-06/0.2152, allocations: 0 / 0.9125 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.2154, allocations: 56.12 kB / 0.9126 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2154, allocations: 4 kB / 0.9126 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2155, allocations: 31.81 kB / 0.9126 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2155, allocations: 8 kB / 0.9126 GB, free: 51.91 MB / 0.6042 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 9.992e-05/0.2156, allocations: 226 kB / 0.9128 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.2157, allocations: 15.81 kB / 0.9129 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.2162, allocations: 283 kB / 0.9131 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2162, allocations: 0 / 0.9131 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2162, allocations: 0 / 0.9131 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2162, allocations: 0 / 0.9131 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.2171, allocations: 0.6926 MB / 0.9138 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2171, allocations: 8 kB / 0.9138 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.2173, allocations: 55.95 kB / 0.9139 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2173, allocations: 7.938 kB / 0.9139 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2173, allocations: 4 kB / 0.9139 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2173, allocations: 7.938 kB / 0.9139 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2174, allocations: 0 / 0.9139 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.2178, allocations: 460.7 kB / 0.9143 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.2179, allocations: 112.9 kB / 0.9144 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2179, allocations: 4 kB / 0.9144 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2181, allocations: 27.91 kB / 0.9145 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.2182, allocations: 15.98 kB / 0.9145 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2182, allocations: 4 kB / 0.9145 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.172e-05/0.2183, allocations: 135.2 kB / 0.9146 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2183, allocations: 0 / 0.9146 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004107/0.2187, allocations: 87.75 kB / 0.9147 GB, free: 49.66 MB / 0.6042 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 9.91e-05/0.2188, allocations: 107.1 kB / 0.9148 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.2194, allocations: 384.3 kB / 0.9152 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2194, allocations: 7.938 kB / 0.9152 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2196, allocations: 115.9 kB / 0.9153 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.2201, allocations: 39.73 kB / 0.9153 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.2207, allocations: 0.5473 MB / 0.9159 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2209, allocations: 0.748 MB / 0.9166 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.221, allocations: 19.44 kB / 0.9166 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.221, allocations: 0 / 0.9166 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.00327/0.2243, allocations: 2.568 MB / 0.9191 GB, free: 45.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)