Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009555/0.0009558, allocations: 166.6 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007514/0.0007515, allocations: 91.72 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003354, allocations: 8.406 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 106.3 MB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00154/0.2115, allocations: 1.219 MB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.2118, allocations: 127.7 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.2118, allocations: 0 / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2118, allocations: 7.922 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2119, allocations: 7.938 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.2122, allocations: 65.59 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.2123, allocations: 51.84 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.2124, allocations: 19.98 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.2125, allocations: 27.91 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.2125, allocations: 15.92 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2125, allocations: 4 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.2126, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.2126, allocations: 15.92 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.2126, allocations: 45.56 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.2127, allocations: 51.84 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2127, allocations: 4 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2127, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2127, allocations: 4 kB / 0.9025 GB, free: 61.52 MB / 0.6042 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.0004091/0.2132, allocations: 359.7 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2132, allocations: 8.031 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.2132, allocations: 38.69 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2133, allocations: 4.844 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.693e-05/0.2134, allocations: 172.3 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.2134, allocations: 38.27 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.2135, allocations: 4.375 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2137, allocations: 77.97 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2137, allocations: 4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2137, allocations: 7.938 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2137, allocations: 4 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2139, allocations: 63.88 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.2144, allocations: 324.7 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2146, allocations: 50.55 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.2147, allocations: 40.94 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2147, allocations: 0 / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.2147, allocations: 42.48 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2147, allocations: 3.938 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003273/0.215, allocations: 109.6 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.2151, allocations: 55.41 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.2151, allocations: 105.8 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2151, allocations: 25.7 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.2152, allocations: 100 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2152, allocations: 19.73 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.2152, allocations: 0 / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.2153, allocations: 318.8 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.2154, allocations: 23.98 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.2154, allocations: 45.62 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2156, allocations: 69.86 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2156, allocations: 4 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.2158, allocations: 97.58 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2158, allocations: 6.969 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2158, allocations: 0 / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2159, allocations: 0 / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.216, allocations: 24.14 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.216, allocations: 4 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.216, allocations: 8 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.216, allocations: 4 kB / 0.9047 GB, free: 59.06 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.2161, allocations: 119.7 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2161, allocations: 7.906 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.2162, allocations: 3.906 kB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2162, allocations: 8 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2162, allocations: 0 / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2162, allocations: 0 / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2163, allocations: 177.6 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2163, allocations: 0 / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.2164, allocations: 19.92 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2164, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2164, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2164, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2164, allocations: 8 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2166, allocations: 191.3 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2167, allocations: 77.11 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2167, allocations: 7.922 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2169, allocations: 19.98 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2169, allocations: 0 / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2169, allocations: 4 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.217, allocations: 87.58 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.217, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.2172, allocations: 11.94 kB / 0.9054 GB, free: 58.23 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.2176, allocations: 0.724 MB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.2178, allocations: 59.95 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2178, allocations: 3.938 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.2179, allocations: 31.97 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.2181, allocations: 14.64 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2192, allocations: 1.367 MB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2193, allocations: 0.6848 MB / 0.9082 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.2194, allocations: 8.312 kB / 0.9082 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.2194, allocations: 15.44 kB / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2194, allocations: 0 / 0.9082 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.2301, allocations: 1.519 MB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.2303, allocations: 219.7 kB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.776, allocations: 2.188 kB / 0.9099 GB, free: 53.58 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)