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.001023/0.001023, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 290.5 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 97.83 kB / 0.5948 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1726, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002838/0.1755, allocations: 1.337 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1771, allocations: 0.8652 MB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.1772, allocations: 0 / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.1772, allocations: 0 / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.1773, allocations: 12.53 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009403/0.1783, allocations: 178.3 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.1783, allocations: 11.94 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1784, allocations: 7.938 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1785, allocations: 15.92 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.1785, allocations: 4 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1785, allocations: 0 / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.1789, allocations: 187.8 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.179, allocations: 7.969 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.179, allocations: 15.94 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1794, allocations: 147.8 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1794, allocations: 0 / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.1794, allocations: 4 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1794, allocations: 0 / 0.6825 GB, free: 14.16 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.0005255/0.1799, allocations: 355.5 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.18, allocations: 12.03 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.18, allocations: 30.75 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1803, allocations: 8.922 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1804, allocations: 164.4 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1804, allocations: 4.375 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1804, allocations: 3.938 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1806, allocations: 53.61 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1806, allocations: 0 / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1806, allocations: 0 / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1806, allocations: 0 / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.1807, allocations: 12 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.1809, allocations: 157.6 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.1819, allocations: 138.5 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.1819, allocations: 20.84 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.182, allocations: 89.11 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1821, allocations: 42.44 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1821, allocations: 0 / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001894/0.1823, allocations: 61.67 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1823, allocations: 51.41 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.1824, allocations: 97.86 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1824, allocations: 25.7 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.1824, allocations: 84.08 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1825, allocations: 11.75 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1825, allocations: 25.83 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1826, allocations: 310.8 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.1827, allocations: 12 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.1827, allocations: 12.11 kB / 0.6842 GB, free: 12.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.1827, allocations: 28.94 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1827, allocations: 0 / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.655e-05/0.1828, allocations: 57.62 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1829, allocations: 4 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1829, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1829, allocations: 4 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.183, allocations: 8 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.183, allocations: 3.984 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.183, allocations: 4 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.183, allocations: 4 kB / 0.6843 GB, free: 12.05 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 7.42e-05/0.1831, allocations: 119 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1831, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.1834, allocations: 77.17 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1834, allocations: 4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1834, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1835, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1836, allocations: 157.6 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1836, allocations: 0 / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.1836, allocations: 11.98 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1836, allocations: 4 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1837, allocations: 4 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1837, allocations: 0 / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1837, allocations: 3.938 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1838, allocations: 92.91 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1838, allocations: 77.11 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1839, allocations: 11.98 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.1839, allocations: 4 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.184, allocations: 0 / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.184, allocations: 4 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.184, allocations: 75.28 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.184, allocations: 0 / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1843, allocations: 47.98 kB / 0.6849 GB, free: 11.27 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.0006604/0.1849, allocations: 0.7102 MB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.1851, allocations: 31.98 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1851, allocations: 0 / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.1851, allocations: 15.94 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.1853, allocations: 4 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1858, allocations: 180.3 kB / 0.6858 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.186, allocations: 0.6768 MB / 0.6865 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.1861, allocations: 16.11 kB / 0.6865 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1861, allocations: 11.44 kB / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1862, allocations: 0 / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1987, allocations: 1.87 MB / 0.6884 GB, free: 7.852 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.199, allocations: 279.6 kB / 0.6886 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.958, allocations: 0 / 0.6886 GB, free: 7.488 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)