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.005862/0.005862, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001382/0.001382, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0026/0.0026, allocations: 282.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 100.5 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4818, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002989/0.4848, allocations: 1.51 MB / 0.7828 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.4852, allocations: 132.8 kB / 0.7829 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.4852, allocations: 3.5 kB / 0.7829 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.4853, allocations: 4.547 kB / 0.7829 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.4854, allocations: 12.58 kB / 0.7829 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.4857, allocations: 62.55 kB / 0.783 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.4858, allocations: 55.41 kB / 0.7831 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4859, allocations: 17.48 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.486, allocations: 31.59 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.4861, allocations: 31.14 kB / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.4861, allocations: 5.406 kB / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.4861, allocations: 4.969 kB / 0.7831 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.4862, allocations: 15.19 kB / 0.7832 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.4862, allocations: 25.11 kB / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.4864, allocations: 58.16 kB / 0.7832 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4864, allocations: 0.6562 kB / 0.7832 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4864, allocations: 0 / 0.7832 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4864, allocations: 0 / 0.7832 GB, free: 12.54 MB / 0.5606 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.0005769/0.487, allocations: 375.4 kB / 0.7836 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.487, allocations: 10.5 kB / 0.7836 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.4871, allocations: 40.69 kB / 0.7836 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.4871, allocations: 8.547 kB / 0.7836 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4872, allocations: 164.5 kB / 0.7838 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.4873, allocations: 38.03 kB / 0.7838 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4874, allocations: 2.75 kB / 0.7838 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.4876, allocations: 78.2 kB / 0.7839 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4876, allocations: 0 / 0.7839 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4876, allocations: 1.125 kB / 0.7839 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4876, allocations: 5.438 kB / 0.7839 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.4878, allocations: 48.81 kB / 0.784 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.4885, allocations: 319.1 kB / 0.7843 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.4887, allocations: 55.77 kB / 0.7843 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4888, allocations: 28.11 kB / 0.7844 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4888, allocations: 1.797 kB / 0.7844 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4889, allocations: 32.94 kB / 0.7844 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4889, allocations: 0 / 0.7844 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004036/0.4893, allocations: 101 kB / 0.7845 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4893, allocations: 53.28 kB / 0.7845 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4894, allocations: 115.1 kB / 0.7846 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.4895, allocations: 27.08 kB / 0.7847 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.4895, allocations: 92.38 kB / 0.7848 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.4896, allocations: 10.48 kB / 0.7848 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.4896, allocations: 18.41 kB / 0.7848 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4898, allocations: 317.6 kB / 0.7851 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4899, allocations: 29.3 kB / 0.7851 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.49, allocations: 36.84 kB / 0.7852 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4902, allocations: 57.23 kB / 0.7852 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4902, allocations: 0 / 0.7852 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002394/0.4905, allocations: 91.3 kB / 0.7853 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4905, allocations: 5.312 kB / 0.7853 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4905, allocations: 1.828 kB / 0.7853 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4905, allocations: 1.438 kB / 0.7853 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4906, allocations: 20.75 kB / 0.7853 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4906, allocations: 0 / 0.7853 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.4907, allocations: 7.734 kB / 0.7853 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4907, allocations: 5.953 kB / 0.7853 GB, free: 10.62 MB / 0.5606 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 9.689e-05/0.4908, allocations: 117.4 kB / 0.7854 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.4908, allocations: 1.75 kB / 0.7854 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.4909, allocations: 5.922 kB / 0.7855 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4909, allocations: 1.156 kB / 0.7855 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4909, allocations: 0.6562 kB / 0.7855 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4909, allocations: 0 / 0.7855 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.4911, allocations: 183.4 kB / 0.7856 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4911, allocations: 0.6094 kB / 0.7856 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.4912, allocations: 16.48 kB / 0.7856 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4912, allocations: 0 / 0.7856 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.4912, allocations: 0 / 0.7856 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4912, allocations: 1.531 kB / 0.7856 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4912, allocations: 4.656 kB / 0.7857 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.4915, allocations: 182.7 kB / 0.7858 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.4916, allocations: 83.09 kB / 0.7859 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4916, allocations: 6 kB / 0.7859 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.4918, allocations: 9.953 kB / 0.7859 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.4918, allocations: 7.719 kB / 0.7859 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4918, allocations: 3.078 kB / 0.7859 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.4919, allocations: 87.28 kB / 0.786 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4919, allocations: 0 / 0.786 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002302/0.4921, allocations: 7.75 kB / 0.786 GB, free: 9.941 MB / 0.5606 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.0006008/0.4927, allocations: 0.7159 MB / 0.7867 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.493, allocations: 48.83 kB / 0.7868 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.493, allocations: 3.938 kB / 0.7868 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.4931, allocations: 28.84 kB / 0.7868 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4934, allocations: 8.156 kB / 0.7868 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.495, allocations: 1.313 MB / 0.7881 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4954, allocations: 0.686 MB / 0.7888 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.34e-05/0.4954, allocations: 5.609 kB / 0.7888 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.4955, allocations: 19.41 kB / 0.7888 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.4955, allocations: 0 / 0.7888 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.5174, allocations: 1.81 MB / 0.7906 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.385, allocations: 11.84 kB / 0.7906 GB, free: 6.914 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)