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.00568/0.00568, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001228/0.001228, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 283 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9128/0.9128, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 102.1 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1673, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002491/0.1698, allocations: 1.282 MB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.1708, allocations: 0.5733 MB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.1708, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.1709, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.1709, allocations: 7.922 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1714, allocations: 91.56 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.1715, allocations: 23.86 kB / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.1715, allocations: 4 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.1716, allocations: 7.938 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.1716, allocations: 11.94 kB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1717, allocations: 0 / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.172, allocations: 147.7 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.172, allocations: 4 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.172, allocations: 7.938 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1722, allocations: 91.77 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1723, allocations: 4 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1723, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1723, allocations: 0 / 0.7681 GB, free: 6.66 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004395/0.1727, allocations: 343.4 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1728, allocations: 16.03 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.1728, allocations: 30.75 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.1733, allocations: 24.91 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1734, allocations: 164.4 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1734, allocations: 384 / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1734, allocations: 384 / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1736, allocations: 54.17 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1736, allocations: 3.938 kB / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1736, allocations: 3.984 kB / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1736, allocations: 4 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1738, allocations: 19.98 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.174, allocations: 161.6 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1741, allocations: 42.55 kB / 0.7689 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.1742, allocations: 20.91 kB / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1743, allocations: 3.938 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1743, allocations: 30.56 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1743, allocations: 0 / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.1746, allocations: 81.5 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1747, allocations: 51.41 kB / 0.7691 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.1748, allocations: 97.86 kB / 0.7692 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1748, allocations: 25.7 kB / 0.7692 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1748, allocations: 84.12 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.1749, allocations: 4.516 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1749, allocations: 21.78 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.175, allocations: 318.8 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.1751, allocations: 12 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.1752, allocations: 15.92 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1753, allocations: 32.91 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1753, allocations: 0 / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1755, allocations: 65.56 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1755, allocations: 7.938 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1755, allocations: 3.938 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1756, allocations: 0 / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1757, allocations: 7.984 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1757, allocations: 8.031 kB / 0.7698 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.1757, allocations: 0 / 0.7698 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1758, allocations: 0 / 0.7698 GB, free: 4.699 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 (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 8.565e-05/0.1758, allocations: 114.4 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.1759, allocations: 3.938 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.1759, allocations: 11.11 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1759, allocations: 8 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1759, allocations: 0 / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1761, allocations: 153.7 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1761, allocations: 0 / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.1762, allocations: 7.984 kB / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1762, allocations: 3.938 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1762, allocations: 0 / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1762, allocations: 0 / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1762, allocations: 4 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1764, allocations: 85.28 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.1765, allocations: 81.11 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1765, allocations: 7.922 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.1766, allocations: 3.984 kB / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.1766, allocations: 7.938 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1766, allocations: 0 / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.1767, allocations: 83.31 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.943e-06/0.1767, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002056/0.1769, allocations: 19.94 kB / 0.7704 GB, free: 4.023 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 (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.000537/0.1774, allocations: 0.6358 MB / 0.771 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1776, allocations: 27.97 kB / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1776, allocations: 3.938 kB / 0.771 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.646e-05/0.1777, allocations: 15.98 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1779, allocations: 12.12 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1785, allocations: 146.4 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1787, allocations: 0.6768 MB / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.1788, allocations: 11.94 kB / 0.7718 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.1788, allocations: 11.44 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.1788, allocations: 4 kB / 0.7719 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.1972, allocations: 1.59 MB / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.314, allocations: 10.19 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB (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)