Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.55/1.55, allocations: 287.4 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009743/0.0009742, allocations: 177.9 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008487/0.0008491, allocations: 106.6 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 11.09 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002029/0.2925, allocations: 1.351 MB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.2932, allocations: 379.9 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.2933, allocations: 0 / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2935, allocations: 7.922 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.2935, allocations: 23.8 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.294, allocations: 105.6 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2941, allocations: 91.58 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2943, allocations: 44.19 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.2944, allocations: 31.91 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.2945, allocations: 27.86 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2945, allocations: 4 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.2946, allocations: 59.94 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.2946, allocations: 11.92 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.2947, allocations: 37.64 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2949, allocations: 91.81 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2949, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2949, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2949, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 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.000578/0.2955, allocations: 415.2 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2955, allocations: 8.031 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.2956, allocations: 42.75 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.2958, allocations: 32.72 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.296, allocations: 196.1 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.2961, allocations: 34.27 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2961, allocations: 8.375 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2964, allocations: 114 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2964, allocations: 0 / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2964, allocations: 0 / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2964, allocations: 0 / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.2967, allocations: 91.92 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.2974, allocations: 400.3 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.2979, allocations: 138.6 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.298, allocations: 40.84 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.298, allocations: 4 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.298, allocations: 38.55 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.298, allocations: 0 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003935/0.2984, allocations: 145.7 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2985, allocations: 55.34 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.2986, allocations: 140.2 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2986, allocations: 29.7 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.2986, allocations: 96.12 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2987, allocations: 27.64 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.2987, allocations: 3.938 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.2988, allocations: 318.8 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.2989, allocations: 35.97 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.299, allocations: 53.83 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.2992, allocations: 85.69 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2992, allocations: 0 / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002302/0.2994, allocations: 125.5 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2994, allocations: 7.984 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2994, allocations: 7.938 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2995, allocations: 3.938 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2996, allocations: 23.98 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2996, allocations: 0 / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.2997, allocations: 19.88 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2997, allocations: 4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 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 7.704e-05/0.2998, allocations: 121.8 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.2998, allocations: 11.89 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.2998, allocations: 12.72 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2999, allocations: 3.938 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2999, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2999, allocations: 4 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3001, allocations: 201.6 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3001, allocations: 4 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.3002, allocations: 19.98 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3002, allocations: 0 / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3002, allocations: 0 / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3002, allocations: 3.938 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3002, allocations: 4 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3005, allocations: 215.9 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.3005, allocations: 89 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3005, allocations: 4 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3007, allocations: 19.86 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3008, allocations: 8 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3008, allocations: 7.984 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.3008, allocations: 99.27 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3008, allocations: 0 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002108/0.3011, allocations: 27.91 kB / 0.9844 GB, free: 21.93 MB / 0.6198 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.0004513/0.3015, allocations: 0.7358 MB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3018, allocations: 91.88 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3018, allocations: 0 / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.3019, allocations: 47.91 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3023, allocations: 35.92 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3034, allocations: 0.6531 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3035, allocations: 0.6965 MB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.3036, allocations: 16.66 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.3037, allocations: 23.44 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3037, allocations: 0 / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.3228, allocations: 2.375 MB / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.3231, allocations: 209.7 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.046, allocations: 0 / 0.9891 GB, free: 17.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)