Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.108/2.108, allocations: 251 MB / 265.9 MB, free: 11.69 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.001516/0.001516, allocations: 180.3 kB / 325.5 MB, free: 2.895 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.413/2.413, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001192/0.001192, allocations: 103.5 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004977, allocations: 16.19 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.4623, allocations: 131.8 MB / 1.028 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.4627, allocations: 83.95 kB / 1.028 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006738/0.4694, allocations: 1.479 MB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4695, allocations: 7.938 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4695, allocations: 0 / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004135/0.4699, allocations: 343.3 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.47, allocations: 8.031 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.47, allocations: 30.56 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.4703, allocations: 23.92 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4705, allocations: 163.1 kB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4705, allocations: 8 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.4705, allocations: 4 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4707, allocations: 45.62 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4707, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4707, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4707, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.4708, allocations: 15.98 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.471, allocations: 157.7 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.4743, allocations: 274.4 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4744, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4745, allocations: 42.5 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.4745, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002552/0.4748, allocations: 61.72 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.4748, allocations: 55.41 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.4749, allocations: 85 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.475, allocations: 25.7 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.475, allocations: 80.14 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.4751, allocations: 19.75 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.4751, allocations: 4.125 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4752, allocations: 322.7 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.4752, allocations: 8 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.4753, allocations: 4 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.4753, allocations: 11.94 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4754, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.4755, allocations: 53.97 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4755, allocations: 8 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4755, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4756, allocations: 48 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4757, allocations: 15.97 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4757, allocations: 0 / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.4758, allocations: 1.047 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4758, allocations: 4 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 9.531e-05/0.4759, allocations: 109.8 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4759, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.476, allocations: 7.5 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.476, allocations: 0 / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.476, allocations: 0 / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.476, allocations: 4 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.4762, allocations: 169.5 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4762, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.4763, allocations: 11.98 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4763, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4763, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4763, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4763, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.4765, allocations: 77.12 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.4766, allocations: 85.06 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.4766, allocations: 0 / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.4767, allocations: 3.984 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.4767, allocations: 8 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4768, allocations: 4 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.4768, allocations: 75.28 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.208e-06/0.4768, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002418/0.4771, allocations: 15.88 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0004782/0.4776, allocations: 0.6164 MB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.4777, allocations: 23.98 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4777, allocations: 4 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.4778, allocations: 15.92 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.478, allocations: 15.94 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.4786, allocations: 166.4 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4789, allocations: 0.677 MB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.479, allocations: 7.859 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.4791, allocations: 11.44 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.4791, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.5026, allocations: 1.083 MB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003853/0.5031, allocations: 186.7 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.892, allocations: 4 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB