Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_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.005889/0.005889, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001297/0.001297, allocations: 197.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 275.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9769/0.9769, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1904, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002636/0.1931, allocations: 1.268 MB / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.1938, allocations: 291.1 kB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.1939, allocations: 0 / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1939, allocations: 0 / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.194, allocations: 7.938 kB / 0.7674 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1943, allocations: 47.75 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.1944, allocations: 23.91 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1945, allocations: 4 kB / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.1945, allocations: 11.88 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.1946, allocations: 4 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1946, allocations: 0 / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1948, allocations: 59.88 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1948, allocations: 4 kB / 0.7676 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1948, allocations: 15.94 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.195, allocations: 52.05 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.195, allocations: 0 / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.195, allocations: 0 / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.195, allocations: 0 / 0.7676 GB, free: 7.141 MB / 0.5606 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.0004773/0.1955, allocations: 339.3 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1956, allocations: 8.031 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.1957, allocations: 38.73 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.1959, allocations: 16.92 kB / 0.768 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1961, allocations: 164.4 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1961, allocations: 384 / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1961, allocations: 4.375 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1963, allocations: 42.25 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1963, allocations: 3.938 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1963, allocations: 0 / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1963, allocations: 3.984 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.1964, allocations: 19.92 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.1966, allocations: 161.7 kB / 0.7684 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1984, allocations: 262.5 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.1985, allocations: 24.84 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1985, allocations: 4 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1985, allocations: 30.56 kB / 0.7687 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.1985, allocations: 0 / 0.7687 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.1987, allocations: 69.56 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1988, allocations: 51.41 kB / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.1989, allocations: 93.86 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1989, allocations: 29.83 kB / 0.769 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.1989, allocations: 84.14 kB / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.199, allocations: 7.906 kB / 0.769 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.199, allocations: 21.7 kB / 0.7691 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1991, allocations: 310.8 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.1991, allocations: 15.94 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.1992, allocations: 4 kB / 0.7694 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.1992, allocations: 36.78 kB / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1992, allocations: 0 / 0.7694 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.324e-05/0.1993, allocations: 57.69 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1993, allocations: 11.88 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1994, allocations: 0 / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1994, allocations: 4 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.1994, allocations: 4 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1995, allocations: 0 / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.1995, allocations: 3.953 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1995, allocations: 4 kB / 0.7695 GB, free: 5.012 MB / 0.5606 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 7.587e-05/0.1996, allocations: 106.5 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.1996, allocations: 7.938 kB / 0.7696 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1996, allocations: 11.48 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1996, allocations: 4 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1997, allocations: 0 / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1997, allocations: 3.938 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1998, allocations: 161.6 kB / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1998, allocations: 0 / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.1999, allocations: 12 kB / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1999, allocations: 4.266 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1999, allocations: 0 / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1999, allocations: 4 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1999, allocations: 0 / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2, allocations: 77.11 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.2001, allocations: 85.09 kB / 0.7699 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2001, allocations: 3.938 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.2002, allocations: 4 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.2002, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2002, allocations: 4 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.2002, allocations: 79.28 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2002, allocations: 3.938 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001919/0.2004, allocations: 8 kB / 0.77 GB, free: 4.348 MB / 0.5606 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.0003797/0.2008, allocations: 0.6201 MB / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.201, allocations: 32.08 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.201, allocations: 3.938 kB / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.201, allocations: 12 kB / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2013, allocations: 11.98 kB / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.2018, allocations: 152.3 kB / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.202, allocations: 0.6807 MB / 0.7715 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.2021, allocations: 3.938 kB / 0.7715 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.2021, allocations: 9.812 kB / 0.7715 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2021, allocations: 0 / 0.7715 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.2201, allocations: 1.342 MB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.527, allocations: 7.875 kB / 0.7729 GB, free: 1.52 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)