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.491/1.491, allocations: 252 MB / 267.6 MB, free: 10.91 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.001016/0.001016, allocations: 182.6 kB / 327.3 MB, free: 2.199 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.634/1.634, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0007615/0.0007615, allocations: 85.7 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003951, allocations: 8.062 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002656/0.224, allocations: 2.26 MB / 0.903 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2256, allocations: 1.283 MB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.2257, allocations: 4 kB / 0.9043 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2259, allocations: 23.78 kB / 0.9043 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.2262, allocations: 127.4 kB / 0.9044 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.2266, allocations: 133.6 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.2268, allocations: 303 kB / 0.9049 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.2273, allocations: 286.1 kB / 0.9051 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2274, allocations: 83.69 kB / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2276, allocations: 127.5 kB / 0.9053 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.2277, allocations: 8 kB / 0.9053 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2278, allocations: 67.89 kB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.2279, allocations: 55.84 kB / 0.9055 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2279, allocations: 61.58 kB / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2281, allocations: 211.8 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2281, allocations: 0 / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2281, allocations: 0 / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2282, allocations: 0 / 0.9057 GB, free: 59.2 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.0006722/0.2288, allocations: 470.9 kB / 0.9062 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2289, allocations: 8.031 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.2293, allocations: 83.47 kB / 0.9063 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.2296, allocations: 237.4 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2296, allocations: 4.281 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.2297, allocations: 12 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.2301, allocations: 304.6 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2302, allocations: 7.984 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.2302, allocations: 7.984 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.2302, allocations: 28.27 kB / 0.9068 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2307, allocations: 268.6 kB / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2319, allocations: 1.494 MB / 0.9085 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.2323, allocations: 269 kB / 0.9088 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2325, allocations: 129.6 kB / 0.9089 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2326, allocations: 7.984 kB / 0.9089 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2326, allocations: 42.48 kB / 0.909 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.2326, allocations: 7.875 kB / 0.909 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006683/0.2333, allocations: 360.4 kB / 0.9093 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2333, allocations: 93.03 kB / 0.9094 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2335, allocations: 168 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2335, allocations: 29.7 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.2336, allocations: 143.9 kB / 0.9097 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2336, allocations: 51.34 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.2336, allocations: 0 / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.2337, allocations: 326.8 kB / 0.9101 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.2339, allocations: 107.9 kB / 0.9102 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2341, allocations: 163.6 kB / 0.9104 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.2343, allocations: 135.8 kB / 0.9105 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2343, allocations: 0 / 0.9105 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004686/0.2348, allocations: 314.8 kB / 0.9108 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.2349, allocations: 147.1 kB / 0.9109 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2349, allocations: 4 kB / 0.9109 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2349, allocations: 4 kB / 0.9109 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.2352, allocations: 55.95 kB / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2352, allocations: 7.938 kB / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2354, allocations: 35.81 kB / 0.911 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2354, allocations: 4 kB / 0.911 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.2354, allocations: 4 kB / 0.911 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003974/0.2358, allocations: 249.7 kB / 0.9113 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2358, allocations: 4 kB / 0.9113 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.2358, allocations: 4 kB / 0.9113 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.236, allocations: 48.19 kB / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2361, allocations: 15.92 kB / 0.9113 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2362, allocations: 27.83 kB / 0.9114 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2362, allocations: 11.95 kB / 0.9114 GB, free: 52.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.2364, allocations: 216.9 kB / 0.9116 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.2364, allocations: 19.8 kB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.2369, allocations: 286.8 kB / 0.9119 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2369, allocations: 0 / 0.9119 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2369, allocations: 0 / 0.9119 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2369, allocations: 0 / 0.9119 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.2378, allocations: 0.6966 MB / 0.9126 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2378, allocations: 0 / 0.9126 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.238, allocations: 51.89 kB / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.238, allocations: 4.125 kB / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.238, allocations: 11.95 kB / 0.9126 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.238, allocations: 7.984 kB / 0.9126 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2381, allocations: 3.938 kB / 0.9126 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.2385, allocations: 449.9 kB / 0.9131 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.2386, allocations: 116.8 kB / 0.9132 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.2386, allocations: 8 kB / 0.9132 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2388, allocations: 31.92 kB / 0.9132 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.2389, allocations: 11.98 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2389, allocations: 8 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.2389, allocations: 139.1 kB / 0.9134 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.239, allocations: 0 / 0.9134 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004136/0.2394, allocations: 79.84 kB / 0.9134 GB, free: 50.74 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 (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.0001098/0.2395, allocations: 107.2 kB / 0.9136 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.2401, allocations: 387.1 kB / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2401, allocations: 0 / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2403, allocations: 119.8 kB / 0.914 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2408, allocations: 36.91 kB / 0.9141 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.2414, allocations: 0.5244 MB / 0.9146 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2417, allocations: 0.7518 MB / 0.9153 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.2418, allocations: 19.44 kB / 0.9153 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2418, allocations: 0 / 0.9153 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.003485/0.2453, allocations: 2.561 MB / 0.9178 GB, free: 46.18 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)