Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.255/2.255, allocations: 248.5 MB / 261.1 MB, free: 6.004 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.001459/0.001459, allocations: 175.4 kB / 320.4 MB, free: 15.33 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.921/1.921, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001075/0.001074, allocations: 94.47 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.87e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1948, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8497/1.045, allocations: 150.6 MB / 1.038 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.045, allocations: 89 kB / 1.038 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04609/1.091, allocations: 11.75 MB / 1.049 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.533e-06/1.091, allocations: 0 / 1.049 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.933e-05/1.091, allocations: 4 kB / 1.049 GB, free: 7.949 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007673/1.092, allocations: 465.2 kB / 1.05 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.092, allocations: 11.97 kB / 1.05 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/1.092, allocations: 46.11 kB / 1.05 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/1.093, allocations: 71.67 kB / 1.05 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/1.093, allocations: 222.2 kB / 1.05 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.093, allocations: 15.8 kB / 1.05 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.093, allocations: 11.38 kB / 1.05 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/1.094, allocations: 272.7 kB / 1.05 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/1.094, allocations: 4 kB / 1.05 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/1.094, allocations: 7.359 kB / 1.05 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/1.094, allocations: 20.2 kB / 1.05 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/1.095, allocations: 201.9 kB / 1.051 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/1.097, allocations: 1.595 MB / 1.052 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/1.097, allocations: 72.19 kB / 1.052 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.098, allocations: 44.27 kB / 1.052 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/1.098, allocations: 7.953 kB / 1.052 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.098, allocations: 34.55 kB / 1.052 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/1.098, allocations: 0 / 1.052 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0006194/1.098, allocations: 177.7 kB / 1.052 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/1.098, allocations: 88.53 kB / 1.053 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/1.099, allocations: 202.6 kB / 1.053 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/1.099, allocations: 28.39 kB / 1.053 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/1.099, allocations: 165 kB / 1.053 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/1.099, allocations: 23.2 kB / 1.053 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/1.099, allocations: 3.125 kB / 1.053 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.099, allocations: 329.2 kB / 1.053 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.099, allocations: 71.91 kB / 1.053 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/1.1, allocations: 155.3 kB / 1.053 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/1.1, allocations: 100.6 kB / 1.054 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.1, allocations: 4 kB / 1.054 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006496/1.101, allocations: 269.6 kB / 1.054 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005487/1.101, allocations: 1.143 MB / 1.055 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.101, allocations: 0 / 1.055 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.101, allocations: 4 kB / 1.055 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/1.102, allocations: 59.2 kB / 1.055 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.102, allocations: 4 kB / 1.055 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/1.102, allocations: 26.78 kB / 1.055 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/1.102, allocations: 8 kB / 1.055 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.102, allocations: 10.66 kB / 1.055 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005154/1.103, allocations: 213.1 kB / 1.055 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.103, allocations: 4 kB / 1.055 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/1.103, allocations: 4 kB / 1.055 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/1.103, allocations: 55.8 kB / 1.055 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.103, allocations: 12.34 kB / 1.055 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/1.103, allocations: 30.39 kB / 1.055 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/1.103, allocations: 8 kB / 1.055 GB, free: 1.855 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001195/1.103, allocations: 115.5 kB / 1.055 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/1.104, allocations: 11.91 kB / 1.055 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/1.104, allocations: 116.3 kB / 1.056 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.104, allocations: 4 kB / 1.056 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/1.104, allocations: 3.953 kB / 1.056 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.104, allocations: 0 / 1.056 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.105, allocations: 0.6259 MB / 1.056 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.105, allocations: 0 / 1.056 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.105, allocations: 20.23 kB / 1.056 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/1.105, allocations: 4 kB / 1.056 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/1.105, allocations: 4 kB / 1.056 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.105, allocations: 4 kB / 1.056 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.105, allocations: 3.984 kB / 1.056 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/1.106, allocations: 413.4 kB / 1.057 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.106, allocations: 108 kB / 1.057 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/1.106, allocations: 4 kB / 1.057 GB, free: 384 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/1.106, allocations: 7.984 kB / 1.057 GB, free: 376 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/1.106, allocations: 15.42 kB / 1.057 GB, free: 364 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.106, allocations: 7.938 kB / 1.057 GB, free: 356 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002391/1.107, allocations: 169.5 kB / 1.057 GB, free: 212 kB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/1.107, allocations: 4 kB / 1.057 GB, free: 208 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000709/1.107, allocations: 83 kB / 1.057 GB, free: 132 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001014/1.108, allocations: 1.436 MB / 1.058 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006756/1.109, allocations: 267.2 kB / 1.059 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.109, allocations: 4 kB / 1.059 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.109, allocations: 50.05 kB / 1.059 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.11, allocations: 26.56 kB / 1.059 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.111, allocations: 347.9 kB / 1.059 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/1.111, allocations: 0.7362 MB / 1.06 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000389/1.111, allocations: 77.5 kB / 1.06 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.112, allocations: 45.55 kB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/1.112, allocations: 4 kB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/1.142, allocations: 3.327 MB / 1.063 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/1.142, allocations: 172.6 kB / 1.063 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.494, allocations: 4.062 kB / 1.063 GB, free: 9.781 MB / 0.6823 GB