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.651/2.651, allocations: 248.7 MB / 256.2 MB, free: 7.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.001544/0.001543, allocations: 186.7 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 97.64 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.848e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9285/1.132, allocations: 147.8 MB / 1.028 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004552/1.133, allocations: 87.62 kB / 1.029 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07742/1.21, allocations: 13.33 MB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.024e-06/1.21, allocations: 0 / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.437e-05/1.21, allocations: 8 kB / 1.042 GB, free: 13.25 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.001286/1.211, allocations: 468.2 kB / 1.042 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.212, allocations: 8.031 kB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.213, allocations: 87.61 kB / 1.042 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/1.214, allocations: 243.9 kB / 1.042 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.214, allocations: 4 kB / 1.042 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/1.214, allocations: 8 kB / 1.042 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007075/1.215, allocations: 170.9 kB / 1.042 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/1.215, allocations: 277.8 kB / 1.043 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.215, allocations: 7.938 kB / 1.043 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/1.216, allocations: 0 / 1.043 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.997e-05/1.216, allocations: 19.98 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/1.219, allocations: 1.452 MB / 1.044 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/1.22, allocations: 232.6 kB / 1.044 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/1.22, allocations: 112.3 kB / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.221, allocations: 7.984 kB / 1.045 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.221, allocations: 42.06 kB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 4.037e-06/1.221, allocations: 0 / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0009272/1.222, allocations: 216.8 kB / 1.045 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/1.222, allocations: 77.11 kB / 1.045 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.222, allocations: 151.5 kB / 1.045 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/1.222, allocations: 33.73 kB / 1.045 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.222, allocations: 145.8 kB / 1.045 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.222, allocations: 53.08 kB / 1.045 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/1.222, allocations: 3.938 kB / 1.045 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.223, allocations: 330.1 kB / 1.046 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/1.223, allocations: 81.16 kB / 1.046 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/1.223, allocations: 150 kB / 1.046 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/1.224, allocations: 108 kB / 1.046 GB, free: 9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/1.224, allocations: 0 / 1.046 GB, free: 9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009792/1.225, allocations: 259 kB / 1.046 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004409/1.225, allocations: 0.7018 MB / 1.047 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.225, allocations: 4 kB / 1.047 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.225, allocations: 4 kB / 1.047 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/1.226, allocations: 62.38 kB / 1.047 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.226, allocations: 7.938 kB / 1.047 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/1.227, allocations: 31.81 kB / 1.047 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.227, allocations: 11.44 kB / 1.047 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.227, allocations: 4 kB / 1.047 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006902/1.228, allocations: 184.1 kB / 1.047 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.228, allocations: 4 kB / 1.047 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.228, allocations: 4 kB / 1.047 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/1.228, allocations: 55.89 kB / 1.047 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.228, allocations: 0 / 1.047 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/1.229, allocations: 27.05 kB / 1.047 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/1.229, allocations: 12 kB / 1.047 GB, free: 7.707 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.0001859/1.229, allocations: 116.9 kB / 1.047 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008006/1.23, allocations: 214 kB / 1.048 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.23, allocations: 15.81 kB / 1.048 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/1.231, allocations: 226.8 kB / 1.048 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.231, allocations: 4 kB / 1.048 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.231, allocations: 0 / 1.048 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.231, allocations: 7.938 kB / 1.048 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/1.233, allocations: 0.6033 MB / 1.048 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.233, allocations: 4 kB / 1.048 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/1.233, allocations: 43.95 kB / 1.048 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.233, allocations: 0 / 1.048 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/1.234, allocations: 4.125 kB / 1.048 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.234, allocations: 7.953 kB / 1.048 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.234, allocations: 7.938 kB / 1.048 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/1.235, allocations: 474.8 kB / 1.049 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/1.235, allocations: 115.8 kB / 1.049 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/1.235, allocations: 0 / 1.049 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/1.235, allocations: 23.91 kB / 1.049 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.236, allocations: 23.88 kB / 1.049 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.236, allocations: 4 kB / 1.049 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000197/1.236, allocations: 123.8 kB / 1.049 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.71e-07/1.236, allocations: 0 / 1.049 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001151/1.237, allocations: 83.75 kB / 1.049 GB, free: 5.75 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.001649/1.239, allocations: 1.358 MB / 1.051 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.24, allocations: 314.3 kB / 1.051 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.24, allocations: 0 / 1.051 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/1.24, allocations: 97.52 kB / 1.051 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/1.241, allocations: 37.23 kB / 1.051 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.243, allocations: 376.3 kB / 1.051 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/1.244, allocations: 0.7481 MB / 1.052 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006459/1.244, allocations: 81.77 kB / 1.052 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/1.244, allocations: 47.92 kB / 1.052 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of SimCode: time 1.273e-06/1.244, allocations: 0 / 1.052 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/1.287, allocations: 3.554 MB / 1.056 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/1.287, allocations: 155.8 kB / 1.056 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.777, allocations: 0 / 1.056 GB, free: 15.09 MB / 0.6823 GB