Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0008267/0.0008266, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009423/0.0009423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9666/0.9666, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 82.32 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001993/0.1867, allocations: 1.355 MB / 0.5888 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.1875, allocations: 367.2 kB / 0.5891 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.1876, allocations: 0 / 0.5891 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1877, allocations: 11.88 kB / 0.5891 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.1878, allocations: 19.84 kB / 0.5892 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1882, allocations: 99.73 kB / 0.5893 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1884, allocations: 99.52 kB / 0.5894 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1885, allocations: 32.16 kB / 0.5894 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1886, allocations: 31.91 kB / 0.5894 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.1887, allocations: 27.86 kB / 0.5894 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1887, allocations: 4 kB / 0.5894 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1888, allocations: 59.94 kB / 0.5895 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.1888, allocations: 11.92 kB / 0.5895 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.1889, allocations: 37.64 kB / 0.5895 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.189, allocations: 88.08 kB / 0.5896 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1891, allocations: 4 kB / 0.5896 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1891, allocations: 0 / 0.5896 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1891, allocations: 4 kB / 0.5896 GB, free: 0.7695 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005647/0.1896, allocations: 411 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1897, allocations: 8.031 kB / 0.59 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.1898, allocations: 42.5 kB / 0.5901 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.19, allocations: 39.73 kB / 0.5901 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1902, allocations: 191 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.1903, allocations: 33.7 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1903, allocations: 7.938 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1906, allocations: 109.5 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1907, allocations: 7.984 kB / 0.5905 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1907, allocations: 0 / 0.5905 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1907, allocations: 0 / 0.5905 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.1909, allocations: 95.88 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.1917, allocations: 396.4 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.1922, allocations: 142.5 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1924, allocations: 40.84 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1924, allocations: 0 / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1924, allocations: 46.55 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1924, allocations: 0 / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004473/0.1929, allocations: 141.7 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1929, allocations: 55.41 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1931, allocations: 144.5 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1931, allocations: 25.7 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1932, allocations: 100.2 kB / 0.5916 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1932, allocations: 27.64 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1932, allocations: 0 / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1934, allocations: 318.8 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1935, allocations: 40.12 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1936, allocations: 53.67 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1937, allocations: 39.98 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1937, allocations: 0 / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002726/0.194, allocations: 125.5 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.194, allocations: 4 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.194, allocations: 0 / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.194, allocations: 4.031 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1941, allocations: 19.98 kB / 0.5922 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1942, allocations: 4 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.1942, allocations: 15.89 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1943, allocations: 4 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1944, allocations: 117.8 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1944, allocations: 11.86 kB / 0.5923 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1945, allocations: 20.7 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1945, allocations: 0 / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1945, allocations: 3.938 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1945, allocations: 0 / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1947, allocations: 205.5 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1947, allocations: 0 / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.1948, allocations: 15.98 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1948, allocations: 7.953 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1949, allocations: 3.938 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1949, allocations: 7.984 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1949, allocations: 0 / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1952, allocations: 204 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.1952, allocations: 89.02 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1952, allocations: 3.953 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1954, allocations: 19.98 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.1955, allocations: 11.92 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1955, allocations: 0 / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.1955, allocations: 108.8 kB / 0.593 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1955, allocations: 0 / 0.593 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1958, allocations: 20 kB / 0.593 GB, free: 12.96 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006389/0.1964, allocations: 0.7474 MB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1967, allocations: 91.86 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1967, allocations: 0 / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1968, allocations: 40.05 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1972, allocations: 30.77 kB / 0.5939 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1986, allocations: 0.6631 MB / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1989, allocations: 0.6965 MB / 0.5952 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.214e-05/0.199, allocations: 16.64 kB / 0.5953 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.1991, allocations: 23.44 kB / 0.5953 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1991, allocations: 0 / 0.5953 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2153, allocations: 2.375 MB / 0.5976 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.2156, allocations: 191.5 kB / 0.5978 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.032, allocations: 0 / 0.5978 GB, free: 8.129 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: