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.395/1.395, allocations: 251.5 MB / 267.4 MB, free: 11 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.0009477/0.0009478, allocations: 177.2 kB / 326.5 MB, free: 2.672 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.561/1.561, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007713/0.0007713, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 7.312 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002354/0.2093, allocations: 2.354 MB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2109, allocations: 1.38 MB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.211, allocations: 7.938 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.2115, allocations: 171.4 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2118, allocations: 155.4 kB / 0.9007 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2121, allocations: 143.8 kB / 0.9009 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.2123, allocations: 367 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.2126, allocations: 137.4 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2127, allocations: 91.62 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2129, allocations: 119.5 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.2129, allocations: 8 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2131, allocations: 195.6 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.2132, allocations: 55.88 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.2133, allocations: 87.47 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2135, allocations: 215.5 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2135, allocations: 0 / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2135, allocations: 0 / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2135, allocations: 0 / 0.9021 GB, free: 62.65 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.0005477/0.214, allocations: 467.2 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2141, allocations: 8.031 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.2145, allocations: 72.58 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2147, allocations: 235.9 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2147, allocations: 12.66 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2148, allocations: 8.375 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.2152, allocations: 317.6 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2152, allocations: 0 / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2152, allocations: 7.984 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.2153, allocations: 28.2 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.2157, allocations: 276.6 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2168, allocations: 1.513 MB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.2172, allocations: 261 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.2174, allocations: 133.6 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2174, allocations: 7.922 kB / 0.9053 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2175, allocations: 38.56 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2175, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006339/0.2181, allocations: 363.1 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2181, allocations: 77.11 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2183, allocations: 175.3 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2183, allocations: 29.7 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.2183, allocations: 140 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.2184, allocations: 51.3 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.2184, allocations: 25.66 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.2185, allocations: 330.8 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2186, allocations: 107.9 kB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.2188, allocations: 170.7 kB / 0.9067 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.2192, allocations: 295.6 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2192, allocations: 0 / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004683/0.2197, allocations: 322.5 kB / 0.9073 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.2198, allocations: 139.1 kB / 0.9075 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2198, allocations: 3.938 kB / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2198, allocations: 4 kB / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2201, allocations: 55.95 kB / 0.9075 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2201, allocations: 11.88 kB / 0.9075 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.2203, allocations: 31.81 kB / 0.9076 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2203, allocations: 16 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.2203, allocations: 4 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003769/0.2207, allocations: 247.8 kB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2207, allocations: 4 kB / 0.9078 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.2207, allocations: 0 / 0.9078 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.2209, allocations: 47.97 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2209, allocations: 7.938 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.221, allocations: 31.81 kB / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2211, allocations: 8 kB / 0.9079 GB, free: 56.23 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 0.0001118/0.2212, allocations: 226.2 kB / 0.9081 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2212, allocations: 15.81 kB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.2217, allocations: 286 kB / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2217, allocations: 0 / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2217, allocations: 4 kB / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2217, allocations: 4 kB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/0.2225, allocations: 0.6926 MB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2225, allocations: 4 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.2227, allocations: 47.89 kB / 0.9092 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2228, allocations: 4 kB / 0.9092 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2228, allocations: 7.938 kB / 0.9092 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2228, allocations: 7.938 kB / 0.9092 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2228, allocations: 0 / 0.9092 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.2232, allocations: 458.1 kB / 0.9096 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.2233, allocations: 116.8 kB / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2233, allocations: 8 kB / 0.9097 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.2235, allocations: 23.91 kB / 0.9098 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.2236, allocations: 19.97 kB / 0.9098 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2236, allocations: 4 kB / 0.9098 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.2237, allocations: 139.2 kB / 0.9099 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2237, allocations: 0 / 0.9099 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003985/0.2241, allocations: 87.75 kB / 0.91 GB, free: 53.97 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 0.0001017/0.2242, allocations: 103.2 kB / 0.9101 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.2248, allocations: 387.8 kB / 0.9105 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2248, allocations: 0 / 0.9105 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.225, allocations: 128.6 kB / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2254, allocations: 44.45 kB / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.226, allocations: 0.5274 MB / 0.9111 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2262, allocations: 0.7441 MB / 0.9119 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.2262, allocations: 23.42 kB / 0.9119 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2263, allocations: 0 / 0.9119 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.003127/0.2294, allocations: 2.551 MB / 0.9144 GB, free: 49.41 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)