Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 248.5 MB / 261.1 MB, free: 6.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002171/0.00217, allocations: 182 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001566/0.001566, allocations: 86.5 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.605e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8858/1.085, allocations: 147.5 MB / 1.035 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.086, allocations: 94.05 kB / 1.035 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05238/1.138, allocations: 13.37 MB / 1.048 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.513e-06/1.138, allocations: 0 / 1.048 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.231e-05/1.138, allocations: 8 kB / 1.048 GB, free: 9.832 MB / 0.6667 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.0009612/1.139, allocations: 479.8 kB / 1.048 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.139, allocations: 12.03 kB / 1.048 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/1.139, allocations: 47.61 kB / 1.048 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/1.14, allocations: 79.62 kB / 1.048 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.141, allocations: 245.7 kB / 1.049 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.141, allocations: 7 kB / 1.049 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/1.141, allocations: 15.5 kB / 1.049 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/1.141, allocations: 286.1 kB / 1.049 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.141, allocations: 3.938 kB / 1.049 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/1.142, allocations: 11.42 kB / 1.049 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/1.142, allocations: 19.98 kB / 1.049 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/1.142, allocations: 231.4 kB / 1.049 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/1.145, allocations: 1.498 MB / 1.051 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/1.145, allocations: 249.6 kB / 1.051 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/1.146, allocations: 113.9 kB / 1.051 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.146, allocations: 4 kB / 1.051 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.146, allocations: 33.75 kB / 1.051 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.936e-06/1.146, allocations: 4 kB / 1.051 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0006638/1.146, allocations: 232 kB / 1.051 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.146, allocations: 81.11 kB / 1.051 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.147, allocations: 158.8 kB / 1.052 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.147, allocations: 29.14 kB / 1.052 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.147, allocations: 141.8 kB / 1.052 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/1.147, allocations: 57.56 kB / 1.052 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/1.147, allocations: 3.688 kB / 1.052 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.147, allocations: 326.8 kB / 1.052 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/1.147, allocations: 90.91 kB / 1.052 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/1.148, allocations: 149.7 kB / 1.052 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/1.148, allocations: 114.8 kB / 1.052 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.148, allocations: 0 / 1.052 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00068/1.149, allocations: 274.2 kB / 1.053 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003474/1.149, allocations: 0.7051 MB / 1.053 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.149, allocations: 0 / 1.053 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.149, allocations: 4 kB / 1.053 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/1.15, allocations: 75.73 kB / 1.053 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.15, allocations: 0 / 1.053 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/1.15, allocations: 35.72 kB / 1.054 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/1.15, allocations: 11.81 kB / 1.054 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.15, allocations: 4 kB / 1.054 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000527/1.151, allocations: 202.9 kB / 1.054 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.151, allocations: 8.219 kB / 1.054 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/1.151, allocations: 0 / 1.054 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/1.151, allocations: 62.83 kB / 1.054 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.151, allocations: 4 kB / 1.054 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/1.151, allocations: 27.12 kB / 1.054 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/1.152, allocations: 11.98 kB / 1.054 GB, free: 4.062 MB / 0.6667 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 () * 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.0001276/1.152, allocations: 120 kB / 1.054 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/1.152, allocations: 23.8 kB / 1.054 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/1.152, allocations: 250.5 kB / 1.054 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.152, allocations: 0 / 1.054 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.152, allocations: 0 / 1.054 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.152, allocations: 4 kB / 1.054 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.154, allocations: 0.6544 MB / 1.055 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.154, allocations: 0 / 1.055 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/1.154, allocations: 43.91 kB / 1.055 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.154, allocations: 7.984 kB / 1.055 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/1.154, allocations: 10.89 kB / 1.055 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.154, allocations: 0 / 1.055 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.154, allocations: 7.938 kB / 1.055 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/1.155, allocations: 485.1 kB / 1.055 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.155, allocations: 114.7 kB / 1.055 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/1.155, allocations: 6.875 kB / 1.055 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/1.156, allocations: 19.97 kB / 1.056 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/1.156, allocations: 18.5 kB / 1.056 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/1.156, allocations: 4 kB / 1.056 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001632/1.156, allocations: 139.3 kB / 1.056 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.156, allocations: 4 kB / 1.056 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000669/1.157, allocations: 92.72 kB / 1.056 GB, free: 2.191 MB / 0.6667 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 () * 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.001237/1.158, allocations: 1.362 MB / 1.057 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008757/1.159, allocations: 335.2 kB / 1.057 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.159, allocations: 0 / 1.057 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/1.159, allocations: 99.7 kB / 1.057 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/1.16, allocations: 35.56 kB / 1.058 GB, free: 500 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.161, allocations: 397.5 kB / 1.058 GB, free: 104 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/1.162, allocations: 0.747 MB / 1.059 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004322/1.162, allocations: 81.47 kB / 1.059 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.162, allocations: 46.73 kB / 1.059 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of SimCode: time 4.048e-06/1.162, allocations: 0 / 1.059 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/1.188, allocations: 3.957 MB / 1.063 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003232/1.188, allocations: 179.1 kB / 1.063 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.593, allocations: 0 / 1.063 GB, free: 11.21 MB / 0.6823 GB