Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001156/0.001156, allocations: 195.2 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 286.7 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9238/0.9238, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 95.31 kB / 0.5946 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1932, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003305/0.1966, allocations: 1.548 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.197, allocations: 124.2 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.197, allocations: 4 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.1971, allocations: 3.938 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.1972, allocations: 7.984 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1975, allocations: 63.84 kB / 0.6812 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.1976, allocations: 55.84 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1977, allocations: 24.2 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.1978, allocations: 23.92 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.1979, allocations: 23.91 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1979, allocations: 7.938 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.1979, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.1979, allocations: 15.92 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.198, allocations: 23.86 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1981, allocations: 51.84 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1981, allocations: 4 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1981, allocations: 0 / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1981, allocations: 0 / 0.6815 GB, free: 15.1 MB / 494.1 MB 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.0005483/0.1987, allocations: 371.4 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1988, allocations: 8.031 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.1988, allocations: 38.73 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.1989, allocations: 8.844 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.199, allocations: 168.3 kB / 0.682 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.1991, allocations: 30.27 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1991, allocations: 384 / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1993, allocations: 81.95 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1993, allocations: 4 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1993, allocations: 3.984 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1993, allocations: 4 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1995, allocations: 43.95 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.2001, allocations: 328.5 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2003, allocations: 50.55 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.2004, allocations: 32.92 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2004, allocations: 0 / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2004, allocations: 30.56 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2005, allocations: 4 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.2008, allocations: 101.5 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2009, allocations: 55.34 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.201, allocations: 113.8 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.201, allocations: 25.7 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.2011, allocations: 92.12 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2011, allocations: 7.812 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2012, allocations: 21.72 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2013, allocations: 318.8 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.2014, allocations: 19.98 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.2015, allocations: 41.69 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2017, allocations: 57.62 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2017, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000232/0.202, allocations: 85.59 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.202, allocations: 4 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.202, allocations: 4 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.202, allocations: 3.984 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.2021, allocations: 11.97 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2021, allocations: 8 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.2022, allocations: 15.83 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2022, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB 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 9.326e-05/0.2023, allocations: 119.1 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.2023, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2024, allocations: 15.89 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2024, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2024, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2024, allocations: 4 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2026, allocations: 173.6 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2026, allocations: 8.125 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.2027, allocations: 8 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2027, allocations: 0 / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2027, allocations: 0 / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2027, allocations: 3.938 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2027, allocations: 3.984 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.203, allocations: 183.4 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.203, allocations: 77.11 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.203, allocations: 0 / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2032, allocations: 11.98 kB / 0.6842 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2032, allocations: 7.922 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2032, allocations: 4.281 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.2033, allocations: 83.28 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2033, allocations: 4 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2035, allocations: 8 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB 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.0005922/0.2041, allocations: 0.7201 MB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.2043, allocations: 55.95 kB / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2043, allocations: 0 / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.2044, allocations: 31.91 kB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2048, allocations: 0 / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2063, allocations: 1.348 MB / 0.6864 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2066, allocations: 0.6874 MB / 0.687 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.2066, allocations: 8 kB / 0.687 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.2067, allocations: 15.42 kB / 0.6871 GB, free: 8.902 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2067, allocations: 3.938 kB / 0.6871 GB, free: 8.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.2187, allocations: 1.579 MB / 0.6886 GB, free: 7.473 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.219, allocations: 217.5 kB / 0.6888 GB, free: 7.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.032, allocations: 0 / 0.6888 GB, free: 7.223 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)