Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006253/0.006253, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7323/0.7323, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 113.5 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.000381, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4393, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.621, allocations: 112.7 MB / 0.7596 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.6213, allocations: 83.95 kB / 0.7597 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.6464, allocations: 6.264 MB / 0.7658 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6465, allocations: 0 / 0.7658 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.6465, allocations: 0 / 0.7658 GB, free: 12.91 MB / 0.5417 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.0005166/0.647, allocations: 371.2 kB / 0.7662 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6471, allocations: 12.03 kB / 0.7662 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.6472, allocations: 34.56 kB / 0.7662 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.6474, allocations: 7.906 kB / 0.7662 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.6475, allocations: 167 kB / 0.7664 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6476, allocations: 4 kB / 0.7664 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.6476, allocations: 0 / 0.7664 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6477, allocations: 41.69 kB / 0.7664 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6478, allocations: 3.938 kB / 0.7664 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6478, allocations: 0 / 0.7664 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6478, allocations: 7.938 kB / 0.7664 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.6479, allocations: 15.98 kB / 0.7665 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.6481, allocations: 169.6 kB / 0.7666 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6493, allocations: 122.6 kB / 0.7667 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.6495, allocations: 81.11 kB / 0.7668 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6495, allocations: 34.56 kB / 0.7669 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 4.459e-06/0.6495, allocations: 0 / 0.7669 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002274/0.6498, allocations: 73.7 kB / 0.7669 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6498, allocations: 51.41 kB / 0.767 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.6499, allocations: 85 kB / 0.7671 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6499, allocations: 25.7 kB / 0.7671 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.65, allocations: 80.14 kB / 0.7672 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.65, allocations: 11.81 kB / 0.7672 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.65, allocations: 4 kB / 0.7672 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6502, allocations: 314.8 kB / 0.7675 GB, free: 11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.6502, allocations: 8.125 kB / 0.7675 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.6502, allocations: 8 kB / 0.7675 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.6503, allocations: 16.27 kB / 0.7675 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6503, allocations: 0 / 0.7675 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.6504, allocations: 65.56 kB / 0.7676 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6504, allocations: 4 kB / 0.7676 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6505, allocations: 0 / 0.7676 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6505, allocations: 0 / 0.7676 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.6506, allocations: 8 kB / 0.7676 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.6506, allocations: 3.984 kB / 0.7676 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.6506, allocations: 7.938 kB / 0.7676 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6507, allocations: 0 / 0.7676 GB, free: 10.87 MB / 0.5417 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.307e-05/0.6508, allocations: 117.8 kB / 0.7677 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.6508, allocations: 3.953 kB / 0.7677 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.6511, allocations: 81.02 kB / 0.7678 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6511, allocations: 4 kB / 0.7678 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6511, allocations: 0 / 0.7678 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6511, allocations: 0 / 0.7678 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.6513, allocations: 165.7 kB / 0.7679 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6513, allocations: 0 / 0.7679 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.6514, allocations: 15.92 kB / 0.768 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6514, allocations: 3.953 kB / 0.768 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.6514, allocations: 7.938 kB / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6514, allocations: 0 / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6514, allocations: 4 kB / 0.768 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.6516, allocations: 85.06 kB / 0.7681 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.6517, allocations: 77.11 kB / 0.7681 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.6517, allocations: 7.953 kB / 0.7681 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.6518, allocations: 4.109 kB / 0.7681 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.6518, allocations: 4 kB / 0.7681 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6518, allocations: 8 kB / 0.7681 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.6519, allocations: 79.28 kB / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6519, allocations: 0 / 0.7682 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004096/0.6523, allocations: 51.92 kB / 0.7683 GB, free: 10.06 MB / 0.5417 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 (5): * Single equations (assignments): 5 * 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.0008319/0.6531, allocations: 0.6906 MB / 0.7689 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.6533, allocations: 27.98 kB / 0.769 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6533, allocations: 0 / 0.769 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.6533, allocations: 16 kB / 0.769 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.6535, allocations: 11.44 kB / 0.769 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.6541, allocations: 201.9 kB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.6544, allocations: 0.6848 MB / 0.7699 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.961e-05/0.6545, allocations: 7.984 kB / 0.7699 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.6546, allocations: 11.44 kB / 0.7699 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6546, allocations: 3.938 kB / 0.7699 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.6704, allocations: 1.666 MB / 0.7715 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.6707, allocations: 218.6 kB / 0.7717 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.2, allocations: 0 / 0.7717 GB, free: 6.551 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)