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.001599/0.001599, 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.001871/0.001871, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.329/1.329, 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.002145/0.002145, allocations: 287 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.9556/0.9556, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001903, allocations: 93.69 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, 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): time 0.003467/0.1698, allocations: 1.267 MB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1713, allocations: 0.8637 MB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.1714, allocations: 0 / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1714, allocations: 0.875 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.1715, allocations: 3.938 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.1723, allocations: 197.1 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.1724, allocations: 23.86 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1725, allocations: 0.5312 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.1725, allocations: 11.94 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.1726, allocations: 15.97 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1726, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.1729, allocations: 192.5 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.173, allocations: 0 / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.173, allocations: 15.92 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1733, allocations: 143.8 kB / 0.6829 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1733, allocations: 0 / 0.6829 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1733, allocations: 0 / 0.6829 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1733, allocations: 0 / 0.6829 GB, free: 13.83 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.0003945/0.1737, allocations: 363.5 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1738, allocations: 8.031 kB / 0.6833 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.1738, allocations: 30.75 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.174, allocations: 16.92 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1741, allocations: 164.3 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1741, allocations: 384 / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1741, allocations: 7.938 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1742, allocations: 41.69 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1743, allocations: 0 / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1743, allocations: 8 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1743, allocations: 0 / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/0.1744, allocations: 15.98 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1745, allocations: 157.6 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.1754, allocations: 142.5 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.1755, allocations: 20.84 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1756, allocations: 89.09 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1756, allocations: 34.56 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/0.1756, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.1759, allocations: 61.62 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1759, allocations: 59.28 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.176, allocations: 101.8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.176, allocations: 25.7 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.1761, allocations: 80.14 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1761, allocations: 15.75 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.1762, allocations: 17.72 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1763, allocations: 314.8 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.1763, allocations: 8 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.1763, allocations: 4 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.1764, allocations: 32.97 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1764, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.532e-05/0.1765, allocations: 61.56 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1765, allocations: 4 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1766, allocations: 4 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1766, allocations: 0 / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.1766, allocations: 4 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1767, allocations: 0 / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.1767, allocations: 0 / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1767, allocations: 4 kB / 0.6848 GB, free: 11.72 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 9.681e-05/0.1768, allocations: 123.1 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.1768, allocations: 4 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1771, allocations: 73.17 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1771, allocations: 0 / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1772, allocations: 7.938 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1772, allocations: 0 / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1773, allocations: 161.6 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1773, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.1774, allocations: 8 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1774, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1774, allocations: 4.062 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1774, allocations: 7.969 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1774, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1775, allocations: 93.48 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1776, allocations: 81.11 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1776, allocations: 7.938 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.1777, allocations: 0 / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1777, allocations: 7.984 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1777, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.1778, allocations: 83.22 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1778, allocations: 0 / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1781, allocations: 44 kB / 0.6854 GB, free: 10.93 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.0006874/0.1788, allocations: 0.7065 MB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1789, allocations: 23.94 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1789, allocations: 4 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.179, allocations: 19.98 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1791, allocations: 8 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.1797, allocations: 168.3 kB / 0.6863 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.18, allocations: 0.6768 MB / 0.687 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.1801, allocations: 11.94 kB / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.1801, allocations: 11.44 kB / 0.687 GB, free: 9.211 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1801, allocations: 0 / 0.687 GB, free: 9.211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.2353, allocations: 1.955 MB / 0.6889 GB, free: 7.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.483/9.718, allocations: 16.8 kB / 0.6889 GB, free: 7.383 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)