Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_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.001524/0.001524, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00185/0.001851, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.736/3.736, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.378/3.378, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006739/0.0006741, allocations: 13.16 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5087, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003763/0.5126, allocations: 1.34 MB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.5139, allocations: 351.2 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.514, allocations: 4 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.5141, allocations: 3.938 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.5143, allocations: 27.88 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.5151, allocations: 107.5 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.5154, allocations: 67.84 kB / 0.7891 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.5156, allocations: 36.41 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.5157, allocations: 31.92 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.5158, allocations: 31.8 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.5159, allocations: 0 / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.5161, allocations: 67.88 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.5162, allocations: 11.98 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.5163, allocations: 41.64 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.5166, allocations: 91.8 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5166, allocations: 0 / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5166, allocations: 0 / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.5166, allocations: 0 / 0.7894 GB, free: 9.68 MB / 0.6075 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.001039/0.5176, allocations: 411 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.462e-05/0.5177, allocations: 12.03 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.5178, allocations: 34.56 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.5182, allocations: 35.78 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.5187, allocations: 190.9 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.5188, allocations: 33.7 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5189, allocations: 12 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.5193, allocations: 101.6 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5194, allocations: 0 / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.5194, allocations: 4 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.5194, allocations: 7.938 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.5198, allocations: 103.8 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.521, allocations: 384.5 kB / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.5217, allocations: 138.5 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5217, allocations: 8 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.5218, allocations: 30.56 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5218, allocations: 0 / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006658/0.5225, allocations: 149.6 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.5226, allocations: 55.39 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.5228, allocations: 140.8 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.5229, allocations: 29.64 kB / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.523, allocations: 96.23 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.5231, allocations: 31.78 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.5231, allocations: 0 / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003023/0.5234, allocations: 322.8 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5237, allocations: 35.98 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5239, allocations: 49.69 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5241, allocations: 35.98 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5241, allocations: 0 / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003944/0.5245, allocations: 125.9 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5246, allocations: 4 kB / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5246, allocations: 8.016 kB / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.5247, allocations: 4 kB / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.5249, allocations: 19.98 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5249, allocations: 80 / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.5251, allocations: 11.94 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5252, allocations: 7.984 kB / 0.7919 GB, free: 6.867 MB / 0.6075 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.0002596/0.5254, allocations: 121.8 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.5255, allocations: 15.84 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.5256, allocations: 12.72 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5256, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.5257, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5257, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.5262, allocations: 213.5 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5263, allocations: 0 / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.5265, allocations: 19.98 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5265, allocations: 0 / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.5266, allocations: 7.953 kB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5266, allocations: 0 / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5266, allocations: 0 / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.5274, allocations: 215.4 kB / 0.7925 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5275, allocations: 81.02 kB / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.5276, allocations: 11.92 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.528, allocations: 19.94 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.5281, allocations: 7.984 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.5281, allocations: 7.938 kB / 0.7926 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001706/0.5283, allocations: 106.2 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5283, allocations: 4 kB / 0.7927 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004849/0.5288, allocations: 20 kB / 0.7927 GB, free: 5.926 MB / 0.6075 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.001716/0.5305, allocations: 0.7397 MB / 0.7934 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.5311, allocations: 87.88 kB / 0.7935 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5311, allocations: 0 / 0.7935 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.5313, allocations: 47.98 kB / 0.7936 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.5318, allocations: 27.92 kB / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.5333, allocations: 0.5804 MB / 0.7942 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.5338, allocations: 0.7004 MB / 0.7948 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.534, allocations: 8.656 kB / 0.7948 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5342, allocations: 27.44 kB / 0.7949 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.5342, allocations: 0 / 0.7949 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.5774, allocations: 2.337 MB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005461/0.5781, allocations: 203 kB / 0.7974 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/3.785, allocations: 4 kB / 0.7974 GB, free: 1.18 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: