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.713/2.713, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001516/0.001516, allocations: 185.5 kB / 371 MB, free: 10.85 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.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009181/0.0009179, allocations: 93.28 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005556/0.0005557, allocations: 10.7 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2129, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002011/0.215, allocations: 1.356 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.2159, allocations: 371.1 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.221e-05/0.216, allocations: 4 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.2161, allocations: 3.938 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.2162, allocations: 23.83 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.2168, allocations: 104.8 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2169, allocations: 103.6 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2171, allocations: 24.45 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.2171, allocations: 27.92 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.2172, allocations: 39.77 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2173, allocations: 4 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.2174, allocations: 51.95 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.2175, allocations: 11.98 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.2175, allocations: 41.64 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.2177, allocations: 91.8 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2177, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2177, allocations: 4 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2178, allocations: 0 / 0.9806 GB, free: 26.01 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.0005984/0.2184, allocations: 409.5 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2184, allocations: 12.02 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.2185, allocations: 46.55 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.2188, allocations: 35.75 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.219, allocations: 190.9 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.2191, allocations: 41.69 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2191, allocations: 4 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.2195, allocations: 108.3 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2195, allocations: 4 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2196, allocations: 4 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2196, allocations: 0 / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.22, allocations: 95.73 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.2209, allocations: 396.5 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.2217, allocations: 134.5 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.2219, allocations: 44.88 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2219, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.222, allocations: 38.56 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.222, allocations: 7.938 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006428/0.2226, allocations: 157.8 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2227, allocations: 51.41 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2228, allocations: 134 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.2228, allocations: 25.7 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2229, allocations: 100.2 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2229, allocations: 23.66 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.2229, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.223, allocations: 322.8 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2232, allocations: 39.97 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2234, allocations: 45.7 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2236, allocations: 43.97 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2236, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004343/0.2241, allocations: 133.4 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2241, allocations: 4 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2241, allocations: 7.969 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2242, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2244, allocations: 19.98 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2244, allocations: 4 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2245, allocations: 15.92 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2246, allocations: 4 kB / 0.9832 GB, free: 23.13 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 9.686e-05/0.2247, allocations: 121.8 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.2247, allocations: 11.86 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.2248, allocations: 12.72 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2248, allocations: 4 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2248, allocations: 0 / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2248, allocations: 3.984 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2251, allocations: 197.5 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2251, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.2253, allocations: 15.98 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2253, allocations: 3.953 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2253, allocations: 8 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2253, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2253, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.2258, allocations: 219.9 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2258, allocations: 85.02 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2259, allocations: 7.953 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2261, allocations: 15.98 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.2262, allocations: 3.984 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2262, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.2263, allocations: 105.6 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2263, allocations: 4 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003322/0.2267, allocations: 23.94 kB / 0.984 GB, free: 22.21 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.0006611/0.2273, allocations: 0.7475 MB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.2278, allocations: 79.95 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2278, allocations: 0 / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.228, allocations: 47.97 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.2285, allocations: 27.94 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2301, allocations: 0.6651 MB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2303, allocations: 0.6965 MB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2304, allocations: 8.672 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.2305, allocations: 28.67 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2305, allocations: 0 / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2588, allocations: 2.391 MB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.2591, allocations: 201.1 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/2.875, allocations: 4 kB / 0.9888 GB, free: 17.37 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)