Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.005125/0.005125, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001263/0.001263, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 286.4 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9821/0.9821, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003098/0.003098, allocations: 91.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1864, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002899/0.1894, allocations: 1.267 MB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1909, allocations: 0.8696 MB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.191, allocations: 0 / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.191, allocations: 0 / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.1911, allocations: 11.91 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.1919, allocations: 198.8 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.192, allocations: 19.92 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.1921, allocations: 4 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.1921, allocations: 11.92 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1922, allocations: 4 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1922, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.1927, allocations: 239.7 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1927, allocations: 0 / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1927, allocations: 19.86 kB / 0.7685 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1931, allocations: 143.7 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1931, allocations: 3.938 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1931, allocations: 4 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1931, allocations: 0 / 0.7686 GB, free: 6.145 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.0004623/0.1936, allocations: 363.1 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1936, allocations: 8.031 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1937, allocations: 34.75 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1939, allocations: 8.922 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.194, allocations: 160.4 kB / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.194, allocations: 384 / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.194, allocations: 11.94 kB / 0.7692 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1942, allocations: 41.69 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1942, allocations: 0 / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1942, allocations: 7.938 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1942, allocations: 0 / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.1943, allocations: 15.98 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.1944, allocations: 153.7 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.1954, allocations: 138.5 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.1954, allocations: 24.84 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.1956, allocations: 81.11 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1956, allocations: 38.56 kB / 0.7697 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.1956, allocations: 0 / 0.7697 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.1958, allocations: 61.81 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1959, allocations: 59.39 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.1959, allocations: 93.86 kB / 0.7699 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1959, allocations: 25.7 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.196, allocations: 80.14 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.196, allocations: 27.72 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1961, allocations: 17.72 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1962, allocations: 314.8 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.1962, allocations: 12.12 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.1962, allocations: 7.984 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1963, allocations: 32.78 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1963, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.025e-05/0.1964, allocations: 57.62 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1964, allocations: 8 kB / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1964, allocations: 0 / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1964, allocations: 0 / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1965, allocations: 4 kB / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1965, allocations: 0 / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.1966, allocations: 11.95 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1966, allocations: 7.984 kB / 0.7704 GB, free: 4.023 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.756e-05/0.1967, allocations: 114.4 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1967, allocations: 4 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.197, allocations: 81.11 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.197, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.197, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.197, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1971, allocations: 161.6 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1971, allocations: 0 / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1972, allocations: 8 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1972, allocations: 0 / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1972, allocations: 3.984 kB / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1972, allocations: 0 / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1972, allocations: 4 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1974, allocations: 93 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1974, allocations: 81.06 kB / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1974, allocations: 8.125 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.1975, allocations: 4 kB / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1975, allocations: 3.984 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1975, allocations: 0 / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.1976, allocations: 83.28 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1976, allocations: 3.938 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002671/0.1979, allocations: 47.88 kB / 0.7711 GB, free: 3.234 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 (5): * Single equations (assignments): 5 * 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.0006708/0.1985, allocations: 0.7037 MB / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1987, allocations: 23.98 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1987, allocations: 0 / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.1987, allocations: 16 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.1989, allocations: 11.94 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.1994, allocations: 172.1 kB / 0.772 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1996, allocations: 0.6768 MB / 0.7727 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1997, allocations: 12.23 kB / 0.7727 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1997, allocations: 7.438 kB / 0.7727 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1997, allocations: 0 / 0.7727 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/0.6002, allocations: 1.983 MB / 0.7746 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/8.011, allocations: 4.734 kB / 0.7746 GB, free: 14.19 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)