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 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.18 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.001493/0.001493, allocations: 169.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.53 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.002/0.002, allocations: 100.9 kB / 0.7428 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00066/0.0006602, allocations: 12.67 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2236, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002038/0.2257, allocations: 1.348 MB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000771/0.2265, allocations: 347.2 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.2266, allocations: 0 / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.2267, allocations: 3.938 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2268, allocations: 23.94 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.2273, allocations: 109.8 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.2275, allocations: 67.91 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2276, allocations: 36.41 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.2277, allocations: 31.86 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2278, allocations: 31.86 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2278, allocations: 4 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.228, allocations: 63.88 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.2281, allocations: 15.92 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.2281, allocations: 37.64 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2283, allocations: 87.8 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2283, allocations: 0 / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2283, allocations: 0 / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2283, allocations: 0 / 0.9804 GB, free: 26.07 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.0006147/0.229, allocations: 419 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.229, allocations: 12.02 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.2291, allocations: 38.56 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.2294, allocations: 35.73 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.2296, allocations: 183 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.2297, allocations: 41.7 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2297, allocations: 4 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.2301, allocations: 109.6 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2302, allocations: 4 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2302, allocations: 4 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2302, allocations: 0 / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.2306, allocations: 105.7 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/0.2316, allocations: 392.4 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.2324, allocations: 134.6 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2324, allocations: 3.938 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2325, allocations: 34.5 kB / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.2325, allocations: 4 kB / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006622/0.2331, allocations: 145.7 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2332, allocations: 59.33 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2333, allocations: 138 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2334, allocations: 25.7 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.2334, allocations: 96.23 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2335, allocations: 31.78 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2335, allocations: 4 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.2336, allocations: 318.8 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2337, allocations: 31.98 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2339, allocations: 53.62 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2341, allocations: 39.98 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2342, allocations: 0 / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000431/0.2346, allocations: 121.5 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2346, allocations: 10.03 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2346, allocations: 3.984 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2347, allocations: 0 / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2349, allocations: 23.92 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2349, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2351, allocations: 11.94 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2351, allocations: 12 kB / 0.9829 GB, free: 23.24 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.747e-05/0.2352, allocations: 113.8 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.2352, allocations: 15.84 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.2353, allocations: 8.719 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2353, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2353, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2353, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2356, allocations: 205.5 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2356, allocations: 4 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2358, allocations: 19.98 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.2358, allocations: 3.953 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2358, allocations: 4 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2358, allocations: 3.938 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2358, allocations: 0 / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.2363, allocations: 208 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2363, allocations: 89 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.2363, allocations: 7.938 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2366, allocations: 23.92 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.2367, allocations: 0 / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.2367, allocations: 8 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.895e-05/0.2368, allocations: 111.2 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2368, allocations: 0 / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003352/0.2371, allocations: 20 kB / 0.9838 GB, free: 22.32 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.0006298/0.2378, allocations: 0.7475 MB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.2382, allocations: 83.94 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2382, allocations: 7.938 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2384, allocations: 35.98 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2388, allocations: 27.92 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.2397, allocations: 0.5843 MB / 0.9852 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2399, allocations: 0.6965 MB / 0.9859 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.24, allocations: 16.66 kB / 0.9859 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.2401, allocations: 24.44 kB / 0.9859 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2402, allocations: 0 / 0.9859 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2629, allocations: 2.355 MB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.2632, allocations: 197.1 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/2.783, allocations: 0 / 0.9884 GB, free: 17.58 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)