Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.005532/0.005532, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001348/0.001348, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 291 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003536/0.003536, allocations: 99.84 kB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1889, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003101/0.192, allocations: 1.654 MB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.1929, allocations: 399.6 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.193, allocations: 4 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1932, allocations: 11.86 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.1933, allocations: 27.72 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1938, allocations: 123.6 kB / 0.7681 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.194, allocations: 103.7 kB / 0.7682 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1941, allocations: 43.91 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.1942, allocations: 43.84 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.1943, allocations: 47.77 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1943, allocations: 8 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1945, allocations: 59.95 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.1945, allocations: 15.92 kB / 0.7684 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.1946, allocations: 51.78 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1948, allocations: 135.6 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1948, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1948, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1948, allocations: 0 / 0.7685 GB, free: 6.238 MB / 0.5606 GB 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.0005857/0.1954, allocations: 411.1 kB / 0.7689 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1955, allocations: 8.031 kB / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1955, allocations: 42.73 kB / 0.769 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1958, allocations: 36.81 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.196, allocations: 199.8 kB / 0.7692 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.1961, allocations: 30.27 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1961, allocations: 12.38 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1964, allocations: 105.9 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1964, allocations: 0 / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1964, allocations: 7.938 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1964, allocations: 4 kB / 0.7694 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.1967, allocations: 83.86 kB / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.1974, allocations: 376.5 kB / 0.7698 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1979, allocations: 134.6 kB / 0.7699 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1981, allocations: 36.84 kB / 0.77 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1981, allocations: 3.984 kB / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1981, allocations: 42.48 kB / 0.77 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1981, allocations: 4 kB / 0.77 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.1985, allocations: 134 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1986, allocations: 59.34 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1987, allocations: 140.5 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1987, allocations: 29.7 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1988, allocations: 104 kB / 0.7705 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1988, allocations: 27.7 kB / 0.7705 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.1988, allocations: 21.72 kB / 0.7705 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.199, allocations: 318.8 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/0.1991, allocations: 27.98 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1992, allocations: 49.75 kB / 0.7709 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1994, allocations: 81.62 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1994, allocations: 0 / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.1996, allocations: 109.5 kB / 0.7711 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1997, allocations: 4 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1997, allocations: 4 kB / 0.7711 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1997, allocations: 3.938 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1998, allocations: 27.95 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1998, allocations: 4 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.1999, allocations: 15.83 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1999, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2, allocations: 114.5 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.2, allocations: 7.906 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.2001, allocations: 16.72 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2001, allocations: 3.938 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2001, allocations: 7.938 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2001, allocations: 0 / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2003, allocations: 197.6 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2003, allocations: 0 / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.2004, allocations: 15.98 kB / 0.7715 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2004, allocations: 4 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2004, allocations: 4 kB / 0.7715 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.2004, allocations: 7.938 kB / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2004, allocations: 0 / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.2007, allocations: 211.3 kB / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2008, allocations: 81.02 kB / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2008, allocations: 4 kB / 0.7718 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.201, allocations: 11.92 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.201, allocations: 4 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.201, allocations: 7.984 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.2011, allocations: 103.3 kB / 0.7719 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2011, allocations: 7.938 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002324/0.2013, allocations: 23.94 kB / 0.7719 GB, free: 2.438 MB / 0.5606 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 (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.0005044/0.2018, allocations: 0.7319 MB / 0.7726 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.2021, allocations: 71.95 kB / 0.7727 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2021, allocations: 0 / 0.7727 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.821e-05/0.2022, allocations: 40.45 kB / 0.7727 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2025, allocations: 32.06 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.339/0.5416, allocations: 1.546 MB / 0.7743 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.5417, allocations: 0.6961 MB / 0.775 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.921e-05/0.5418, allocations: 12.7 kB / 0.775 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.5419, allocations: 23.27 kB / 0.775 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.5419, allocations: 0.5625 kB / 0.775 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.5613, allocations: 2.792 MB / 0.7777 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.53, allocations: 4.219 kB / 0.7777 GB, free: 13.07 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)