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.005296/0.005297, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001299/0.001299, allocations: 195.8 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002607/0.002607, allocations: 274.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 106.1 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1858, 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.002357/0.1882, allocations: 1.266 MB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1897, allocations: 0.8735 MB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.1898, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1898, allocations: 3.938 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.1899, allocations: 0 / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.1905, allocations: 203.5 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.1906, allocations: 19.88 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.1906, allocations: 7.984 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.1907, allocations: 7.938 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.1907, allocations: 11.98 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.1907, allocations: 0 / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.1911, allocations: 231.7 kB / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1912, allocations: 3.984 kB / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1912, allocations: 11.94 kB / 0.7685 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1915, allocations: 151.7 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1915, allocations: 3.938 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1915, allocations: 0 / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1915, allocations: 0 / 0.7686 GB, free: 6.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.0004597/0.192, allocations: 363.1 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.192, allocations: 8.031 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1921, allocations: 30.75 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1922, allocations: 12.92 kB / 0.769 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1924, allocations: 160.4 kB / 0.7692 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.1924, allocations: 4.375 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1924, allocations: 15.88 kB / 0.7692 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1925, allocations: 41.67 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1925, allocations: 3.984 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1926, allocations: 4 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1926, allocations: 0 / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1926, allocations: 12 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1928, allocations: 153.7 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.1937, allocations: 138.5 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.1938, allocations: 24.84 kB / 0.7696 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.1939, allocations: 81.11 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.1939, allocations: 38.56 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1939, allocations: 0 / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.1941, allocations: 65.61 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1941, allocations: 51.41 kB / 0.7698 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.1942, allocations: 93.86 kB / 0.7699 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1942, allocations: 25.7 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1943, allocations: 80.14 kB / 0.77 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1943, allocations: 23.78 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1944, allocations: 29.77 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1945, allocations: 310.8 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.1945, allocations: 8 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.1946, allocations: 7.984 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.1946, allocations: 24.86 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1946, allocations: 0 / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.61e-05/0.1947, allocations: 57.62 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1947, allocations: 4 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1947, allocations: 4 kB / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1948, allocations: 4 kB / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.1948, allocations: 7.938 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1948, allocations: 3.984 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.1949, allocations: 3.953 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1949, allocations: 8 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.604e-05/0.195, allocations: 110.4 kB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.195, allocations: 4 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.1952, allocations: 77.17 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1953, allocations: 336 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1953, allocations: 0 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1953, allocations: 0 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1954, allocations: 169.6 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1954, allocations: 0 / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.1955, allocations: 19.98 kB / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1955, allocations: 0 / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1955, allocations: 4 kB / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1955, allocations: 0 / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1955, allocations: 0 / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1956, allocations: 85.06 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1957, allocations: 85.06 kB / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1957, allocations: 7.984 kB / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.1958, allocations: 0 / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1958, allocations: 8 kB / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1958, allocations: 0 / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.1959, allocations: 79.28 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1959, allocations: 3.938 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002393/0.1961, allocations: 51.86 kB / 0.7711 GB, free: 3.23 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.0006828/0.1968, allocations: 0.6967 MB / 0.7718 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1969, allocations: 23.98 kB / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1969, allocations: 0 / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.197, allocations: 19.94 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.0001566/0.1971, allocations: 10.25 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1976, allocations: 176.1 kB / 0.772 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1979, allocations: 0.6768 MB / 0.7727 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.198, allocations: 8 kB / 0.7727 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.198, allocations: 15.42 kB / 0.7727 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.198, allocations: 0 / 0.7727 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/0.5626, allocations: 1.984 MB / 0.7746 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.252, allocations: 5.469 kB / 0.7746 GB, free: 14.15 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)