Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.155/2.155, allocations: 251 MB / 265.9 MB, free: 11.68 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.001583/0.001583, allocations: 189.3 kB / 325.5 MB, free: 2.891 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.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001261/0.001261, allocations: 102.6 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005197/0.0005199, allocations: 11.5 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.46, allocations: 133.2 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.4604, allocations: 75.95 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01321/0.4737, allocations: 2.658 MB / 1.032 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.045e-06/0.4737, allocations: 0 / 1.032 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4737, allocations: 0 / 1.032 GB, free: 9.387 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.0005272/0.4743, allocations: 372 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4743, allocations: 15.97 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.4744, allocations: 30.56 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.4744, allocations: 7.953 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4746, allocations: 167 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.4747, allocations: 41.62 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4748, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4749, allocations: 41.69 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.475, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.475, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.475, allocations: 8 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.4752, allocations: 19.94 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.4754, allocations: 153.7 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.4757, allocations: 50.55 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.476, allocations: 182.3 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4761, allocations: 34.56 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.4761, allocations: 0 / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003563/0.4765, allocations: 65.58 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4765, allocations: 55.41 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.4766, allocations: 88.98 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4766, allocations: 33.7 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.4767, allocations: 84.14 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.4767, allocations: 7.844 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4767, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4769, allocations: 322.7 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.477, allocations: 11.98 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4771, allocations: 11.98 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.4771, allocations: 8 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4772, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002274/0.4774, allocations: 61.59 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4774, allocations: 4 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4774, allocations: 7.984 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4775, allocations: 0 / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.4776, allocations: 4 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4776, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.4777, allocations: 4 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4777, allocations: 0 / 1.033 GB, free: 7.27 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.475e-05/0.4778, allocations: 121.7 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.4778, allocations: 4 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.4781, allocations: 73.67 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4781, allocations: 48 / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4781, allocations: 7.984 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4781, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.4783, allocations: 157.6 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4783, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.4784, allocations: 8 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4784, allocations: 3.938 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4784, allocations: 4 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4784, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4785, allocations: 4 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.4787, allocations: 88.91 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.4788, allocations: 85.09 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4789, allocations: 0 / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.4789, allocations: 8 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.479, allocations: 7.984 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.479, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.4791, allocations: 79.28 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4791, allocations: 0 / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003418/0.4794, allocations: 39.94 kB / 1.034 GB, free: 6.484 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.0007086/0.4802, allocations: 0.667 MB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.4804, allocations: 23.98 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4804, allocations: 0 / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.4805, allocations: 15.98 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.4807, allocations: 7.938 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.4813, allocations: 193.8 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4815, allocations: 0.6809 MB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.391e-05/0.4816, allocations: 7.859 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.4817, allocations: 7.438 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.4817, allocations: 4 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5029, allocations: 1.631 MB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.5033, allocations: 190.7 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.888, allocations: 4.75 kB / 1.037 GB, free: 3.059 MB / 0.6823 GB