Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_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.001257/0.001257, 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.001253/0.001253, 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.22 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1851, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.0028/0.188, allocations: 1.257 MB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1896, allocations: 0.8669 MB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1896, allocations: 0 / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.1896, allocations: 3.938 kB / 0.5865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.1897, allocations: 11.97 kB / 0.5866 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.1905, allocations: 202.7 kB / 0.5868 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.1906, allocations: 11.94 kB / 0.5868 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.1906, allocations: 4 kB / 0.5868 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1907, allocations: 4 kB / 0.5868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.1907, allocations: 19.86 kB / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1907, allocations: 0 / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1911, allocations: 187.8 kB / 0.587 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1911, allocations: 3.984 kB / 0.587 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1911, allocations: 15.92 kB / 0.587 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1914, allocations: 143.8 kB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1915, allocations: 8 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1915, allocations: 0 / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1915, allocations: 0 / 0.5871 GB, free: 1.746 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.000443/0.1919, allocations: 363.3 kB / 0.5875 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.192, allocations: 12.03 kB / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.192, allocations: 30.75 kB / 0.5875 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.1922, allocations: 8.922 kB / 0.5875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1923, allocations: 164.4 kB / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1923, allocations: 4.312 kB / 0.5877 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1924, allocations: 7.938 kB / 0.5877 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1925, allocations: 45.62 kB / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1925, allocations: 0 / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1925, allocations: 4 kB / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1925, allocations: 0 / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.1926, allocations: 15.98 kB / 0.5878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1928, allocations: 157.7 kB / 0.5879 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.1937, allocations: 134.5 kB / 0.588 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.1937, allocations: 20.84 kB / 0.5881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1939, allocations: 85.11 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1939, allocations: 34.5 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1939, allocations: 0 / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000183/0.1941, allocations: 65.67 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1941, allocations: 51.41 kB / 0.5883 GB, free: 368 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.1942, allocations: 97.86 kB / 0.5884 GB, free: 260 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1942, allocations: 25.7 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.1943, allocations: 80.14 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1943, allocations: 11.8 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1943, allocations: 21.7 kB / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1944, allocations: 319 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.1945, allocations: 8 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.1945, allocations: 7.938 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.1946, allocations: 32.78 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1946, allocations: 0 / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.855e-05/0.1947, allocations: 57.91 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1947, allocations: 4 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1947, allocations: 0 / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1947, allocations: 0 / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.1948, allocations: 8.047 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1948, allocations: 8 kB / 0.5889 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.1948, allocations: 7.922 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1948, allocations: 3.984 kB / 0.5889 GB, free: 15.64 MB / 0.4981 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 (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.828e-05/0.1949, allocations: 121.7 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1949, allocations: 3.906 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1952, allocations: 81.17 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1952, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1952, allocations: 3.938 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1953, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1954, allocations: 157.6 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1954, allocations: 4 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.1954, allocations: 7.984 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1954, allocations: 4 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1955, allocations: 0 / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1955, allocations: 4 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1955, allocations: 3.938 kB / 0.5893 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.1956, allocations: 85.06 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.1956, allocations: 81.11 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1957, allocations: 4 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.1957, allocations: 3.984 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.1957, allocations: 4 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1958, allocations: 0 / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.1958, allocations: 79.28 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1958, allocations: 0 / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.196, allocations: 47.98 kB / 0.5896 GB, free: 14.85 MB / 0.4981 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 (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.0006406/0.1967, allocations: 0.7106 MB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1968, allocations: 23.98 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1968, allocations: 0 / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.1969, allocations: 19.94 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.197, allocations: 8 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1975, allocations: 176.2 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1978, allocations: 0.6768 MB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.16e-05/0.1979, allocations: 7.938 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1979, allocations: 15.42 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1979, allocations: 4 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.2186, allocations: 1.937 MB / 0.5931 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.4, allocations: 5.938 kB / 0.5931 GB, free: 11.3 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)