Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001141/0.001141, allocations: 188.9 kB / 371.8 MB, free: 10.29 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.68/1.68, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009048/0.0009048, allocations: 90.91 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004631, allocations: 10.59 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001896/0.2783, allocations: 1.34 MB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.2788, allocations: 351.2 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.2789, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.279, allocations: 7.922 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.2791, allocations: 23.95 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.2795, allocations: 107.1 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.2797, allocations: 71.84 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2798, allocations: 24.45 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.2799, allocations: 35.84 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.859e-05/0.28, allocations: 31.84 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.28, allocations: 4 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.2801, allocations: 59.89 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.2802, allocations: 19.92 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2802, allocations: 37.64 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2804, allocations: 91.78 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2804, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2804, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2804, allocations: 0 / 0.9816 GB, free: 25.43 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.0005519/0.281, allocations: 415 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.281, allocations: 12.02 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.281, allocations: 38.56 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.2813, allocations: 31.78 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2814, allocations: 186.9 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/0.2815, allocations: 37.7 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2816, allocations: 12 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.2818, allocations: 115.3 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2818, allocations: 0 / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2819, allocations: 4 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2819, allocations: 0 / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.2821, allocations: 95.84 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.2827, allocations: 400.4 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.2832, allocations: 130.6 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.2833, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2833, allocations: 42.5 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2833, allocations: 11.88 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003986/0.2837, allocations: 149.7 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2837, allocations: 51.41 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.2839, allocations: 139.2 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2839, allocations: 25.7 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.2839, allocations: 100.2 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.284, allocations: 23.66 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.284, allocations: 0 / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.284, allocations: 318.8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2842, allocations: 39.97 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2843, allocations: 54.14 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.2844, allocations: 51.91 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2844, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002342/0.2846, allocations: 113.5 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2847, allocations: 8 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2847, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2847, allocations: 4.031 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2848, allocations: 23.92 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2848, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.2849, allocations: 19.92 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.2849, allocations: 4 kB / 0.9841 GB, free: 22.6 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 8.017e-05/0.285, allocations: 113.8 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.285, allocations: 15.86 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.2851, allocations: 12.72 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2851, allocations: 4 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2851, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2851, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2853, allocations: 197.5 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2853, allocations: 4 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.2854, allocations: 15.98 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2854, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2854, allocations: 11.95 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2854, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2854, allocations: 3.938 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.2857, allocations: 211.4 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.2857, allocations: 92.95 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2858, allocations: 4 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2859, allocations: 19.94 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.286, allocations: 3.984 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.286, allocations: 8 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.286, allocations: 104.4 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.286, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000228/0.2863, allocations: 27.94 kB / 0.985 GB, free: 21.68 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.0004413/0.2867, allocations: 0.7436 MB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.287, allocations: 83.94 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.287, allocations: 0 / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2871, allocations: 51.97 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2874, allocations: 22.66 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.2881, allocations: 0.5865 MB / 0.9864 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2882, allocations: 0.7004 MB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.904e-05/0.2883, allocations: 8.672 kB / 0.9871 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.2884, allocations: 27.42 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2884, allocations: 4 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.3008, allocations: 2.342 MB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.301, allocations: 218.9 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.936, allocations: 0 / 0.9896 GB, free: 16.93 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)