Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001635/0.001636, 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.001736/0.001736, allocations: 196.6 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 279.2 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9403/0.9403, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 99.84 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1648, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00246/0.1673, allocations: 1.296 MB / 0.6816 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.1683, allocations: 0.5564 MB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.1683, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1684, allocations: 0 / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.1684, allocations: 7.922 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1689, allocations: 95.56 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.39e-05/0.1689, allocations: 19.81 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.169, allocations: 4 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.169, allocations: 15.94 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.1691, allocations: 7.984 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1691, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1694, allocations: 139.8 kB / 0.6824 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1694, allocations: 7.938 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1694, allocations: 7.984 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1696, allocations: 92.05 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1697, allocations: 0 / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1697, allocations: 0 / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1697, allocations: 4 kB / 0.6825 GB, free: 14.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004013/0.1701, allocations: 339.5 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1701, allocations: 11.97 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.1702, allocations: 38.75 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.1706, allocations: 24.89 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1707, allocations: 172.2 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1707, allocations: 384 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1708, allocations: 384 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1709, allocations: 54.22 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1709, allocations: 3.938 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1709, allocations: 0 / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.171, allocations: 0 / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1711, allocations: 19.98 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1713, allocations: 153.7 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1714, allocations: 54.52 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.1715, allocations: 20.91 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1715, allocations: 0 / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1716, allocations: 30.56 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 5.29e-06/0.1716, allocations: 4 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003064/0.1719, allocations: 77.53 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1719, allocations: 51.41 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.172, allocations: 105.8 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.172, allocations: 29.7 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.172, allocations: 80.14 kB / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1721, allocations: 11.97 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1721, allocations: 13.72 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1722, allocations: 318.8 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.1723, allocations: 11.98 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.1724, allocations: 12 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1725, allocations: 32.89 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1725, allocations: 0 / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001741/0.1727, allocations: 61.67 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1727, allocations: 7.938 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1727, allocations: 0 / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1727, allocations: 0 / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1728, allocations: 11.95 kB / 0.6842 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1729, allocations: 4 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.1729, allocations: 4 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.173, allocations: 0 / 0.6842 GB, free: 12.42 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 (2): * Single equations (assignments): 2 * 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.838e-05/0.173, allocations: 115.1 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.1731, allocations: 3.938 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.1731, allocations: 7.062 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1731, allocations: 4 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1731, allocations: 0 / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1731, allocations: 0 / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1732, allocations: 161.6 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1733, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.1733, allocations: 7.984 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1734, allocations: 3.938 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1734, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1734, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1734, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1736, allocations: 93.03 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1737, allocations: 81.11 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1737, allocations: 15.86 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.1738, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.1738, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1738, allocations: 8.031 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.537e-05/0.1738, allocations: 79.27 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1738, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.174, allocations: 16 kB / 0.6847 GB, free: 11.73 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 (2): * Single equations (assignments): 2 * 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.000529/0.1746, allocations: 0.6319 MB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1748, allocations: 31.91 kB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1748, allocations: 0 / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.1749, allocations: 11.98 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1751, allocations: 12.91 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.1756, allocations: 154.7 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1759, allocations: 0.6768 MB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.912e-05/0.176, allocations: 15.94 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.176, allocations: 11.42 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.554e-06/0.176, allocations: 0 / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/0.5626, allocations: 1.575 MB / 0.6878 GB, free: 8.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.437/10, allocations: 11.38 kB / 0.6878 GB, free: 8.66 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)