Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001013/0.001013, allocations: 178 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4554/0.4554, allocations: 90.82 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009256, allocations: 91.48 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.105e-05, allocations: 0 / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3656, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4853, allocations: 101.8 MB / 0.6597 GB, free: 2.535 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4856, allocations: 75.95 kB / 0.6598 GB, free: 2.461 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004167/0.4898, allocations: 1.514 MB / 0.6613 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4899, allocations: 3.938 kB / 0.6613 GB, free: 0.957 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.4899, allocations: 8 kB / 0.6613 GB, free: 0.9492 MB / 474.7 MB 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.0002696/0.4901, allocations: 330.5 kB / 0.6616 GB, free: 0.582 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4902, allocations: 15.98 kB / 0.6616 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.4903, allocations: 30.56 kB / 0.6616 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.4904, allocations: 27.83 kB / 0.6616 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.4906, allocations: 159.1 kB / 0.6618 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4906, allocations: 0 / 0.6618 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4906, allocations: 7.984 kB / 0.6618 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.4907, allocations: 50.56 kB / 0.6619 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4907, allocations: 0 / 0.6619 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.4907, allocations: 0 / 0.6619 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4907, allocations: 7.953 kB / 0.6619 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.4908, allocations: 12 kB / 0.6619 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.4909, allocations: 153.7 kB / 0.662 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.4927, allocations: 274.5 kB / 0.6623 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.4928, allocations: 16.86 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4928, allocations: 4 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4928, allocations: 38.5 kB / 0.6623 GB, free: 15.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4928, allocations: 0.9375 kB / 0.6623 GB, free: 15.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001311/0.493, allocations: 53.78 kB / 0.6624 GB, free: 15.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.493, allocations: 51.41 kB / 0.6624 GB, free: 15.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.4931, allocations: 88.95 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4931, allocations: 25.7 kB / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.4931, allocations: 84.05 kB / 0.6626 GB, free: 15.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4932, allocations: 23.88 kB / 0.6627 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4932, allocations: 0 / 0.6627 GB, free: 15.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.4933, allocations: 314.8 kB / 0.663 GB, free: 15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.4933, allocations: 8 kB / 0.663 GB, free: 15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.4933, allocations: 8.562 kB / 0.663 GB, free: 14.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.4933, allocations: 11.94 kB / 0.663 GB, free: 14.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4934, allocations: 0 / 0.663 GB, free: 14.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.474e-05/0.4934, allocations: 57.62 kB / 0.663 GB, free: 14.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4935, allocations: 4 kB / 0.663 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4935, allocations: 0 / 0.663 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4935, allocations: 10.53 kB / 0.663 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.4936, allocations: 4 kB / 0.6631 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4936, allocations: 2.969 kB / 0.6631 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.4936, allocations: 3.984 kB / 0.6631 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.4936, allocations: 7.953 kB / 0.6631 GB, free: 14.89 MB / 490.7 MB 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 5.311e-05/0.4937, allocations: 101 kB / 0.6632 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4937, allocations: 4 kB / 0.6632 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.4937, allocations: 3.5 kB / 0.6632 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4937, allocations: 4.188 kB / 0.6632 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4937, allocations: 4 kB / 0.6632 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4938, allocations: 3.984 kB / 0.6632 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.4939, allocations: 165.6 kB / 0.6633 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4939, allocations: 0 / 0.6633 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.4939, allocations: 4 kB / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4939, allocations: 5.875 kB / 0.6634 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4939, allocations: 0 / 0.6634 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4939, allocations: 0 / 0.6634 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4939, allocations: 0 / 0.6634 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.4941, allocations: 88.97 kB / 0.6634 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.4941, allocations: 81.11 kB / 0.6635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.4941, allocations: 0 / 0.6635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.4942, allocations: 0 / 0.6635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.4942, allocations: 0 / 0.6635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4942, allocations: 8 kB / 0.6635 GB, free: 14.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.4943, allocations: 79.27 kB / 0.6636 GB, free: 14.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.4943, allocations: 0 / 0.6636 GB, free: 14.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.4945, allocations: 12.03 kB / 0.6636 GB, free: 14.24 MB / 490.7 MB 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.0003244/0.4948, allocations: 0.615 MB / 0.6642 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.4949, allocations: 20 kB / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4949, allocations: 0 / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.4949, allocations: 15.94 kB / 0.6642 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.4951, allocations: 17.89 kB / 0.6643 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.4954, allocations: 108 kB / 0.6644 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.4956, allocations: 0.6793 MB / 0.665 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.4956, allocations: 7.984 kB / 0.665 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.4957, allocations: 11.44 kB / 0.665 GB, free: 12.68 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4957, allocations: 0 / 0.665 GB, free: 12.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.5061, allocations: 1.078 MB / 0.6661 GB, free: 11.76 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.5063, allocations: 155.1 kB / 0.6662 GB, free: 11.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.351/1.857, allocations: 0 / 0.6662 GB, free: 11.54 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)