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.001622/0.001622, allocations: 105.4 kB / 15.7 MB, free: 24 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.001198/0.001198, allocations: 198.6 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.57 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 1.7/1.7, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001726/0.001726, allocations: 68.84 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2618, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004079/0.2659, allocations: 1.67 MB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.2669, allocations: 399.8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2671, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.2672, allocations: 7.875 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.2673, allocations: 23.78 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.2679, allocations: 126.3 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.2681, allocations: 103.6 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2682, allocations: 48.12 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.2683, allocations: 47.84 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.2684, allocations: 39.83 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.2684, allocations: 8 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2686, allocations: 63.89 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.2686, allocations: 15.98 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.2687, allocations: 51.72 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2689, allocations: 131.6 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2689, allocations: 0 / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.269, allocations: 0 / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.269, allocations: 0 / 0.7863 GB, free: 10.54 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.0006523/0.2696, allocations: 423.1 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2697, allocations: 12.03 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.2697, allocations: 34.75 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.27, allocations: 28.81 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.2703, allocations: 196.1 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.2704, allocations: 38.27 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2704, allocations: 4.375 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.2707, allocations: 110.8 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2708, allocations: 0 / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.2708, allocations: 8 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2708, allocations: 0 / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.271, allocations: 87.78 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.2718, allocations: 380.5 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.2723, allocations: 134.5 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2724, allocations: 48.88 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2725, allocations: 0 / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2725, allocations: 30.56 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.083e-06/0.2725, allocations: 0 / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000428/0.2729, allocations: 137.8 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.273, allocations: 63.33 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2731, allocations: 136.3 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2731, allocations: 25.7 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.2732, allocations: 100 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.2732, allocations: 23.64 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.2733, allocations: 21.72 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2734, allocations: 318.8 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2735, allocations: 31.98 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2736, allocations: 41.69 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.2738, allocations: 85.61 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2738, allocations: 0 / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002706/0.2741, allocations: 117.5 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2741, allocations: 4 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2741, allocations: 0 / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2742, allocations: 3.938 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2743, allocations: 23.92 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2743, allocations: 0 / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.2744, allocations: 11.92 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2744, allocations: 4 kB / 0.7888 GB, free: 7.664 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.2745, allocations: 122.5 kB / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.2745, allocations: 7.906 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.2746, allocations: 8.719 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2746, allocations: 15.91 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2746, allocations: 0 / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2746, allocations: 0 / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2748, allocations: 201.5 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2748, allocations: 0 / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.2749, allocations: 15.98 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2749, allocations: 4 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.275, allocations: 3.938 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.275, allocations: 7.875 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.275, allocations: 0 / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.2753, allocations: 203.3 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.2753, allocations: 85.02 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2754, allocations: 0 / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2755, allocations: 23.92 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.2756, allocations: 3.984 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2756, allocations: 4 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.2757, allocations: 106.1 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2757, allocations: 0 / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002426/0.2759, allocations: 20 kB / 0.7896 GB, free: 6.754 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 (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.0005737/0.2765, allocations: 0.7403 MB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.2768, allocations: 72.02 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2768, allocations: 0 / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2769, allocations: 47.97 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2773, allocations: 31.86 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2791, allocations: 1.559 MB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2794, allocations: 0.6924 MB / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.2795, allocations: 12.66 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.2796, allocations: 23.44 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.2796, allocations: 0 / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3004, allocations: 2.71 MB / 0.7954 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.408, allocations: 10.67 kB / 0.7954 GB, free: 0.8555 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/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)