Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006494/0.006494, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005671, allocations: 13.97 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2547, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001566/0.2563, allocations: 1.222 MB / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.2566, allocations: 128.7 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.2567, allocations: 4 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.2567, allocations: 3.938 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.2568, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2571, allocations: 62.73 kB / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.2572, allocations: 59.89 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.2573, allocations: 15.97 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.2573, allocations: 27.92 kB / 0.7895 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.2574, allocations: 19.86 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2574, allocations: 4 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.2574, allocations: 7.938 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.2574, allocations: 7.969 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2575, allocations: 49.56 kB / 0.7896 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.624e-05/0.2576, allocations: 52.06 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2576, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2576, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2576, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 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.0004499/0.2581, allocations: 367.4 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2581, allocations: 12.03 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2581, allocations: 38.69 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2582, allocations: 8.844 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.2583, allocations: 164.3 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.2584, allocations: 38.25 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2584, allocations: 8.312 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2586, allocations: 85.97 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2586, allocations: 0 / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2586, allocations: 0 / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2586, allocations: 0 / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2588, allocations: 63.89 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.2594, allocations: 328.8 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.2595, allocations: 54.55 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.2596, allocations: 32.94 kB / 0.7908 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.2597, allocations: 4 kB / 0.7908 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2597, allocations: 34.5 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2597, allocations: 0 / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003656/0.2601, allocations: 121.5 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2601, allocations: 51.41 kB / 0.791 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.2602, allocations: 113.8 kB / 0.7911 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2602, allocations: 25.7 kB / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.2603, allocations: 88.14 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2603, allocations: 7.812 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.2603, allocations: 25.7 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.2604, allocations: 314.8 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2605, allocations: 23.98 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.997e-05/0.2606, allocations: 49.62 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.2608, allocations: 69.86 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2608, allocations: 0 / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002252/0.261, allocations: 101.5 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2611, allocations: 8 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2611, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2611, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.2612, allocations: 15.98 kB / 0.7918 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2612, allocations: 7.969 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.2613, allocations: 12 kB / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.2613, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.6075 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 6.723e-05/0.2614, allocations: 117.7 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2614, allocations: 7.984 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.2614, allocations: 7.906 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2614, allocations: 0 / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2614, allocations: 3.938 kB / 0.7919 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2614, allocations: 4 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.2616, allocations: 177.7 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2616, allocations: 4 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.2617, allocations: 23.92 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2617, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2617, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2617, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2617, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.262, allocations: 187.4 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.262, allocations: 77.11 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.262, allocations: 8 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2622, allocations: 15.98 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2622, allocations: 7.984 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2622, allocations: 0 / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.2623, allocations: 91.58 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2623, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002201/0.2625, allocations: 11.91 kB / 0.7925 GB, free: 6.531 MB / 0.6075 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.0005051/0.263, allocations: 0.7163 MB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2632, allocations: 63.95 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2632, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.2633, allocations: 35.91 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2636, allocations: 10.97 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2649, allocations: 1.366 MB / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2651, allocations: 0.6813 MB / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.2652, allocations: 8 kB / 0.7953 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.2652, allocations: 19.42 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2652, allocations: 0 / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009982/0.2752, allocations: 1.508 MB / 0.7968 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.2754, allocations: 211.2 kB / 0.797 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.948, allocations: 3.938 kB / 0.797 GB, free: 1.863 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)