Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 198.6 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5486 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.92 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1924, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00207/0.1945, allocations: 1.325 MB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004631/0.1949, allocations: 295.1 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.195, allocations: 7.938 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.195, allocations: 0 / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.195, allocations: 3.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1953, allocations: 47.83 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.1953, allocations: 15.92 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.1954, allocations: 3.984 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.1954, allocations: 8 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.1955, allocations: 7.938 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1955, allocations: 4 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1956, allocations: 51.95 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1956, allocations: 7.984 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.1956, allocations: 7.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1957, allocations: 52.17 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1957, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1958, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1958, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 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.0003053/0.1961, allocations: 339.5 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1961, allocations: 12.03 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.1962, allocations: 30.75 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1964, allocations: 24.81 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.1964, allocations: 160.4 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1965, allocations: 4.375 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.1965, allocations: 4.375 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.1966, allocations: 46.19 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1966, allocations: 3.938 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1966, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1966, allocations: 4 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.1966, allocations: 19.92 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.1968, allocations: 157.7 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1987, allocations: 270.4 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.1988, allocations: 16.86 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.1988, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1988, allocations: 38.55 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1988, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001404/0.1989, allocations: 69.56 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.199, allocations: 51.41 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.199, allocations: 93.86 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1991, allocations: 29.7 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.1991, allocations: 80.14 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1991, allocations: 11.81 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1991, allocations: 17.72 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.1992, allocations: 314.8 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.1993, allocations: 11.94 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.1993, allocations: 8.125 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.1993, allocations: 32.84 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1993, allocations: 0 / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.115e-05/0.1994, allocations: 53.64 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1994, allocations: 7.938 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1994, allocations: 3.984 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1995, allocations: 4 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.1995, allocations: 4 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1995, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.1996, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1996, allocations: 4 kB / 0.7866 GB, free: 9.836 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.1996, allocations: 113.8 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1997, allocations: 3.938 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.1997, allocations: 7.5 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1997, allocations: 7.938 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1997, allocations: 0 / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1997, allocations: 3.984 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.51e-05/0.1998, allocations: 161.6 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1998, allocations: 3.984 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.1999, allocations: 11.94 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1999, allocations: 7.938 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1999, allocations: 4 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1999, allocations: 0 / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1999, allocations: 0 / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.2, allocations: 73.45 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.2, allocations: 81.11 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2001, allocations: 7.969 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.2001, allocations: 11.98 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2001, allocations: 0 / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2001, allocations: 4 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.2002, allocations: 75.28 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2002, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001748/0.2004, allocations: 8 kB / 0.7872 GB, free: 9.156 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/0.2007, allocations: 0.6203 MB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.2008, allocations: 24 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2008, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.2008, allocations: 19.92 kB / 0.7878 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.201, allocations: 7.938 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2014, allocations: 157.2 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.2016, allocations: 0.6768 MB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.2016, allocations: 8 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2017, allocations: 7.438 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2017, allocations: 0 / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.2137, allocations: 1.214 MB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.214, allocations: 216.6 kB / 0.79 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.851, allocations: 0 / 0.79 GB, free: 6.195 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)