Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.735/1.735, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.001206/0.001207, allocations: 185.4 kB / 371.1 MB, free: 10.81 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.917/1.917, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008025/0.0008025, allocations: 99.8 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 11.88 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001489/0.2147, allocations: 1.203 MB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.2151, allocations: 115.7 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2151, allocations: 7.938 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.2152, allocations: 0 / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.2153, allocations: 3.938 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.2157, allocations: 61.02 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.2158, allocations: 55.84 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2159, allocations: 19.92 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.2159, allocations: 23.92 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.216, allocations: 15.92 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.216, allocations: 4 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.216, allocations: 0 / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.2161, allocations: 19.91 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.2161, allocations: 25.7 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.2162, allocations: 40.16 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2162, allocations: 4 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2162, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2162, allocations: 0 / 0.9803 GB, free: 26.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004492/0.2166, allocations: 359.4 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2167, allocations: 12.03 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.2167, allocations: 34.75 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.2168, allocations: 16.83 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2169, allocations: 172.2 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.217, allocations: 34.27 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.217, allocations: 4.375 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2172, allocations: 81.97 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2172, allocations: 0 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2172, allocations: 4 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2172, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.2174, allocations: 55.95 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.218, allocations: 328.7 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2181, allocations: 58.55 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.2182, allocations: 32.92 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2182, allocations: 3.984 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.2183, allocations: 34.56 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2183, allocations: 3.938 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003363/0.2186, allocations: 117.5 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2186, allocations: 55.41 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.2187, allocations: 117.8 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2187, allocations: 29.7 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.2188, allocations: 92.12 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.2188, allocations: 7.812 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.2188, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.2188, allocations: 322.8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.2189, allocations: 27.97 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.219, allocations: 37.7 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2192, allocations: 77.61 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2192, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.2194, allocations: 89.56 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2194, allocations: 11.94 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2194, allocations: 0 / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2195, allocations: 4.031 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.2196, allocations: 24.05 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2196, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.2196, allocations: 11.98 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2196, allocations: 4 kB / 0.9824 GB, free: 24.02 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 (5): * Single equations (assignments): 5 * 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 5.595e-05/0.2197, allocations: 123 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.2197, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2198, allocations: 11.91 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2199, allocations: 181.6 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2199, allocations: 0 / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.22, allocations: 15.98 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.22, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.22, allocations: 4 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.22, allocations: 4 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.22, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2203, allocations: 187.3 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.2203, allocations: 89.09 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2203, allocations: 3.938 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2204, allocations: 15.98 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2205, allocations: 4 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2205, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.2205, allocations: 91.27 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2205, allocations: 0 / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001937/0.2207, allocations: 11.91 kB / 0.9832 GB, free: 23.19 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 (4): * Single equations (assignments): 4 * 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.0003869/0.2211, allocations: 0.7243 MB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2213, allocations: 63.98 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2213, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.2214, allocations: 35.98 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.2217, allocations: 5.969 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.2225, allocations: 489 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2226, allocations: 0.6887 MB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.2227, allocations: 4 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.2227, allocations: 19.38 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2227, allocations: 0 / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.2346, allocations: 1.481 MB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.2348, allocations: 208.9 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.707, allocations: 0 / 0.9868 GB, free: 19.49 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)