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.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 291.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 100 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1625, allocations: 86.97 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002394/0.1649, allocations: 1.271 MB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1663, allocations: 0.8613 MB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.1664, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1664, allocations: 7.938 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1665, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1671, allocations: 198.2 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.1672, allocations: 27.8 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.1673, allocations: 7.984 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.1674, allocations: 4 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.1675, allocations: 4 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1675, allocations: 8 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.1679, allocations: 196.9 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.1679, allocations: 3.938 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.168, allocations: 4 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1683, allocations: 151.7 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1683, allocations: 0 / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1683, allocations: 0 / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1683, allocations: 4 kB / 0.683 GB, free: 13.84 MB / 494.1 MB 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.0005905/0.1689, allocations: 355.5 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.169, allocations: 16.03 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.169, allocations: 30.75 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.1693, allocations: 12.92 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1694, allocations: 160.4 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1695, allocations: 8.359 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1695, allocations: 3.938 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1696, allocations: 45.62 kB / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1697, allocations: 0 / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1697, allocations: 0 / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1697, allocations: 0 / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.1698, allocations: 19.98 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.17, allocations: 161.6 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.171, allocations: 130.5 kB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1711, allocations: 28.78 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.1712, allocations: 93.03 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1713, allocations: 38.5 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1713, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.1715, allocations: 57.69 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1715, allocations: 51.41 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.1716, allocations: 93.86 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1716, allocations: 29.7 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.1717, allocations: 84.27 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.1717, allocations: 15.73 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1718, allocations: 17.72 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1719, allocations: 310.8 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.1719, allocations: 19.92 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.172, allocations: 4 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.172, allocations: 24.86 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.172, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.614e-05/0.1721, allocations: 61.62 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1722, allocations: 4 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1722, allocations: 0 / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1722, allocations: 3.984 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.1722, allocations: 8 kB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1723, allocations: 3.938 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.1723, allocations: 0 / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1723, allocations: 0 / 0.6848 GB, free: 11.73 MB / 494.1 MB 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.107e-05/0.1724, allocations: 119.1 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.1724, allocations: 4 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1727, allocations: 69.17 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1727, allocations: 7.984 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1727, allocations: 0 / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1727, allocations: 0 / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1729, allocations: 169.6 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1729, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.1729, allocations: 8 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1729, allocations: 3.938 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.173, allocations: 8.062 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.173, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.173, allocations: 3.938 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1731, allocations: 89.48 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.1732, allocations: 85.09 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1732, allocations: 4 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.1732, allocations: 4 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1733, allocations: 0 / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1733, allocations: 4 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1733, allocations: 79.27 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1733, allocations: 3.938 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1736, allocations: 40 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB 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.0007282/0.1743, allocations: 0.6955 MB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1745, allocations: 27.98 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1745, allocations: 4 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.1745, allocations: 19.92 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.1747, allocations: 12 kB / 0.6862 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.1753, allocations: 172.3 kB / 0.6863 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1757, allocations: 0.6729 MB / 0.687 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.1758, allocations: 23.91 kB / 0.687 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1758, allocations: 7.438 kB / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1758, allocations: 0 / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.1938, allocations: 1.962 MB / 0.6889 GB, free: 7.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.061, allocations: 7.797 kB / 0.689 GB, free: 7.391 MB / 494.1 MB (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)