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.001017/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001094/0.001094, allocations: 196.2 kB / 16.14 MB, free: 6.672 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.41/1.41, allocations: 205.1 MB / 222 MB, free: 4.711 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.722/1.722, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001558/0.001559, allocations: 69.25 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1947, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002586/0.1973, allocations: 1.325 MB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006271/0.198, allocations: 299.1 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.198, allocations: 4 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.198, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.1981, allocations: 3.984 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1984, allocations: 47.75 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1984, allocations: 19.88 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1985, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.1985, allocations: 8 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1986, allocations: 7.922 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1986, allocations: 8 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1987, allocations: 51.95 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.1987, allocations: 0 / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.1988, allocations: 11.94 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1989, allocations: 52.16 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1989, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1989, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1989, allocations: 0 / 0.7846 GB, free: 12.07 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.0004547/0.1994, allocations: 335.5 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1995, allocations: 8.031 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1995, allocations: 42.75 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.1998, allocations: 16.83 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1999, allocations: 168.4 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1999, allocations: 4.375 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1999, allocations: 4.312 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2001, allocations: 42.25 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2001, allocations: 7.875 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2001, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2001, allocations: 4 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.2002, allocations: 19.98 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.2004, allocations: 149.7 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.2023, allocations: 270.4 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.2023, allocations: 20.84 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2024, allocations: 4 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.2024, allocations: 34.56 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 3.427e-06/0.2024, allocations: 3.984 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.2026, allocations: 61.62 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2027, allocations: 51.41 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2027, allocations: 101.8 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2028, allocations: 29.7 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.2028, allocations: 80.14 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.2028, allocations: 7.812 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2029, allocations: 21.66 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.203, allocations: 310.8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.2031, allocations: 11.98 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.2031, allocations: 4.125 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.2031, allocations: 32.86 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2031, allocations: 3.938 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.2032, allocations: 53.69 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2033, allocations: 7.938 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2033, allocations: 4 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2033, allocations: 0 / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.2033, allocations: 7.938 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2034, allocations: 0 / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.2034, allocations: 3.984 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2034, allocations: 4 kB / 0.7864 GB, free: 9.945 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 8.739e-05/0.2035, allocations: 113.8 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2035, allocations: 3.938 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.2036, allocations: 11.5 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2036, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2036, allocations: 3.938 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2036, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2037, allocations: 165.6 kB / 0.7867 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2038, allocations: 0 / 0.7867 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.2038, allocations: 8 kB / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2038, allocations: 7.938 kB / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.2038, allocations: 0 / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2038, allocations: 4 kB / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2038, allocations: 3.984 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.204, allocations: 77.06 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.204, allocations: 81.11 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2041, allocations: 7.938 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.2041, allocations: 0 / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.2041, allocations: 11.98 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2042, allocations: 0 / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.2042, allocations: 75.28 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001928/0.2044, allocations: 8 kB / 0.787 GB, free: 9.27 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.0004623/0.2049, allocations: 0.6129 MB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.205, allocations: 35.95 kB / 0.7876 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.205, allocations: 0 / 0.7876 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.205, allocations: 12 kB / 0.7876 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2053, allocations: 7.984 kB / 0.7876 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.2058, allocations: 169.8 kB / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.2061, allocations: 0.6731 MB / 0.7885 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.467e-05/0.2061, allocations: 11.98 kB / 0.7885 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.2062, allocations: 7.438 kB / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2062, allocations: 0 / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.2169, allocations: 1.162 MB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.2172, allocations: 206.1 kB / 0.7898 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.923, allocations: 3.938 kB / 0.7898 GB, free: 6.332 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)