Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 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.001159/0.001159, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 286.9 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.9374/0.9374, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 98.52 kB / 0.5953 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1698, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002742/0.1726, allocations: 1.278 MB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1738, allocations: 0.7623 MB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1739, allocations: 0 / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1739, allocations: 7.922 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.174, allocations: 3.938 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.1745, allocations: 167.2 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.1746, allocations: 19.88 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.1746, allocations: 7.984 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.1747, allocations: 8 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.1747, allocations: 15.92 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1748, allocations: 4 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1752, allocations: 291.4 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.1752, allocations: 4 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1753, allocations: 15.92 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.1756, allocations: 167.9 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1756, allocations: 3.938 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1756, allocations: 0 / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1756, allocations: 0 / 0.683 GB, free: 13.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004213/0.176, allocations: 367.5 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1761, allocations: 12.03 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.1761, allocations: 30.75 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1764, allocations: 16.91 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1765, allocations: 164.4 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1765, allocations: 384 / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1765, allocations: 4.375 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1767, allocations: 58.23 kB / 0.6836 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1767, allocations: 3.938 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1767, allocations: 3.984 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1767, allocations: 0 / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.1768, allocations: 31.92 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.177, allocations: 169.6 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1771, allocations: 54.59 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.1771, allocations: 32.89 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1772, allocations: 0 / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1772, allocations: 34.56 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1772, allocations: 0 / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.000202/0.1774, allocations: 85.55 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1775, allocations: 51.41 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.1775, allocations: 89.86 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1776, allocations: 29.83 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.1776, allocations: 84.14 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1776, allocations: 15.72 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.1777, allocations: 25.64 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1778, allocations: 314.8 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.1778, allocations: 11.98 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.1779, allocations: 12 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.1779, allocations: 32.86 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.178, allocations: 3.938 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001239/0.1781, allocations: 65.69 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1781, allocations: 7.938 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1781, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1781, allocations: 3.984 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1783, allocations: 12.44 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1783, allocations: 7.938 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.1784, allocations: 3.938 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1784, allocations: 8 kB / 0.6847 GB, free: 11.76 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 (6): * Single equations (assignments): 6 * 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.317e-05/0.1785, allocations: 115.1 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1785, allocations: 7.938 kB / 0.6849 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1787, allocations: 89.48 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1787, allocations: 4 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1787, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1788, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1789, allocations: 161.7 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1789, allocations: 7.984 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.179, allocations: 12 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1791, allocations: 3.938 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1791, allocations: 8 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1791, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1791, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1792, allocations: 97.11 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.1793, allocations: 89 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1794, allocations: 11.92 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.1794, allocations: 4 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.1795, allocations: 4 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1795, allocations: 0 / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.1795, allocations: 79.28 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1795, allocations: 0 / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1797, allocations: 15.94 kB / 0.6854 GB, free: 10.96 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 (7): * Single equations (assignments): 7 * 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.0004839/0.1802, allocations: 0.6398 MB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1804, allocations: 39.98 kB / 0.6861 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1804, allocations: 0 / 0.6861 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.1804, allocations: 23.92 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1807, allocations: 10.38 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.1812, allocations: 160.3 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1814, allocations: 0.6807 MB / 0.6869 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.1815, allocations: 4.25 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.1815, allocations: 15.44 kB / 0.6869 GB, free: 9.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1816, allocations: 4 kB / 0.687 GB, free: 9.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2078, allocations: 1.435 MB / 0.6884 GB, free: 8.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.701/9.909, allocations: 15.06 kB / 0.6884 GB, free: 8.02 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)