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.26/2.26, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001441/0.001441, allocations: 184.1 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.023/2.023, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001024/0.001024, allocations: 100.3 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.89e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8565/1.052, allocations: 131.9 MB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.053, allocations: 73.89 kB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006563/1.059, allocations: 1.482 MB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.059, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.059, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 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.0003944/1.06, allocations: 338.4 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.06, allocations: 8.031 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/1.06, allocations: 19.92 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.06, allocations: 170.6 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.06, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/1.06, allocations: 8 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/1.06, allocations: 11.19 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/1.06, allocations: 37.19 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.06, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.06, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/1.06, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/1.061, allocations: 137.8 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/1.064, allocations: 270.2 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/1.064, allocations: 20.48 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/1.064, allocations: 0 / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.064, allocations: 38.56 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/1.064, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/1.064, allocations: 45.47 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/1.064, allocations: 55.16 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/1.064, allocations: 85 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/1.064, allocations: 29.7 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/1.064, allocations: 80.14 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/1.064, allocations: 15.73 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.065, allocations: 4.125 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.065, allocations: 318.7 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/1.065, allocations: 11.94 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/1.065, allocations: 7.812 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/1.065, allocations: 7.562 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.065, allocations: 3.953 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/1.065, allocations: 45.7 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.065, allocations: 8 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.065, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.065, allocations: 8.031 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/1.065, allocations: 7.984 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.065, allocations: 0.8594 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/1.065, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.065, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 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 () * 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 8.9e-05/1.065, allocations: 103.6 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001116/1.065, allocations: 64.42 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/1.065, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/1.065, allocations: 7.938 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.066, allocations: 5.188 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.066, allocations: 4 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.066, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/1.066, allocations: 137.8 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.066, allocations: 0 / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/1.066, allocations: 4 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.066, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.066, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.066, allocations: 4.875 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.066, allocations: 0 / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/1.066, allocations: 79.94 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/1.066, allocations: 85.05 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.066, allocations: 3.938 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/1.066, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/1.066, allocations: 4 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.066, allocations: 1.562 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.174e-05/1.066, allocations: 78.66 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.066, allocations: 3.938 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002651/1.067, allocations: 12.09 kB / 1.017 GB, free: 3.27 MB / 0.6355 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 () * 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.0004852/1.067, allocations: 0.6106 MB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001131/1.067, allocations: 22.69 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.067, allocations: 0 / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/1.067, allocations: 11.31 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/1.068, allocations: 14.56 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/1.068, allocations: 100.6 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.068, allocations: 0.6807 MB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.571e-05/1.068, allocations: 7.859 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/1.068, allocations: 7.438 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.068, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/1.103, allocations: 0.7989 MB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/1.104, allocations: 159 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.27, allocations: 1.969 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB