Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8509/0.8509, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002025, allocations: 68.25 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4697, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002715/0.4725, allocations: 1.669 MB / 0.5818 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.4733, allocations: 399.5 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.4734, allocations: 2.25 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.4736, allocations: 9.75 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.4736, allocations: 21.91 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.474, allocations: 127.7 kB / 0.5824 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4742, allocations: 108.7 kB / 0.5825 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4743, allocations: 35.41 kB / 0.5825 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.4744, allocations: 48.14 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.4745, allocations: 41.03 kB / 0.5826 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.4745, allocations: 12.03 kB / 0.5826 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4747, allocations: 60.95 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.4747, allocations: 19.62 kB / 0.5827 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.4748, allocations: 47.56 kB / 0.5827 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.475, allocations: 129.5 kB / 0.5828 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.475, allocations: 0 / 0.5828 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.475, allocations: 0.75 kB / 0.5828 GB, free: 2.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.475, allocations: 0 / 0.5828 GB, free: 2.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005323/0.4756, allocations: 425.5 kB / 0.5832 GB, free: 2.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4756, allocations: 9.688 kB / 0.5832 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.4757, allocations: 39.53 kB / 0.5833 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.4759, allocations: 28.59 kB / 0.5833 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.4761, allocations: 188.5 kB / 0.5835 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.4761, allocations: 39.78 kB / 0.5835 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4762, allocations: 12.97 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.4765, allocations: 110.8 kB / 0.5836 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4765, allocations: 0 / 0.5836 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4765, allocations: 5.812 kB / 0.5837 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4765, allocations: 6.016 kB / 0.5837 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.4768, allocations: 78.19 kB / 0.5837 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.4774, allocations: 391.8 kB / 0.5841 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.478, allocations: 124 kB / 0.5842 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4781, allocations: 51.59 kB / 0.5843 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4781, allocations: 1.531 kB / 0.5843 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.4782, allocations: 32.25 kB / 0.5843 GB, free: 1.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4782, allocations: 0 / 0.5843 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004445/0.4786, allocations: 130.3 kB / 0.5844 GB, free: 1.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.4787, allocations: 60.03 kB / 0.5845 GB, free: 1.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4788, allocations: 138.5 kB / 0.5846 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4788, allocations: 26.67 kB / 0.5846 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.4788, allocations: 110.8 kB / 0.5848 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4789, allocations: 20.19 kB / 0.5848 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4789, allocations: 24.02 kB / 0.5848 GB, free: 1.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.479, allocations: 320.8 kB / 0.5851 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.4791, allocations: 29.14 kB / 0.5851 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4792, allocations: 47.83 kB / 0.5852 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.4794, allocations: 75.81 kB / 0.5852 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4794, allocations: 0 / 0.5852 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002615/0.4797, allocations: 116.1 kB / 0.5854 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4797, allocations: 5.688 kB / 0.5854 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4797, allocations: 0.9375 kB / 0.5854 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4797, allocations: 5.031 kB / 0.5854 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4799, allocations: 17.73 kB / 0.5854 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4799, allocations: 0.7812 kB / 0.5854 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.48, allocations: 7.812 kB / 0.5854 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.48, allocations: 6.984 kB / 0.5854 GB, free: 0.7344 MB / 430.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 (8): * Single equations (assignments): 8 * 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.921e-05/0.4801, allocations: 122 kB / 0.5855 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.4801, allocations: 11.72 kB / 0.5855 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.4801, allocations: 12.61 kB / 0.5855 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4801, allocations: 5.766 kB / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4802, allocations: 1.094 kB / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.4802, allocations: 0 / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.4803, allocations: 206 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4804, allocations: 1.094 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4805, allocations: 15.89 kB / 0.5858 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4805, allocations: 0.75 kB / 0.5858 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4805, allocations: 5.625 kB / 0.5858 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4805, allocations: 3.938 kB / 0.5858 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4805, allocations: 0.75 kB / 0.5858 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4808, allocations: 200.9 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.4808, allocations: 91.64 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.4809, allocations: 1.531 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.481, allocations: 22.91 kB / 0.5861 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.4811, allocations: 4.406 kB / 0.5861 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4811, allocations: 8.438 kB / 0.5861 GB, free: 84 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.4812, allocations: 105.6 kB / 0.5862 GB, free: 0 / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4812, allocations: 0 / 0.5862 GB, free: 0 / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.4814, allocations: 20.67 kB / 0.5862 GB, free: 15.99 MB / 446.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 (7): * Single equations (assignments): 7 * 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.0005857/0.482, allocations: 0.7361 MB / 0.5869 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.4823, allocations: 75.72 kB / 0.587 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4823, allocations: 0 / 0.587 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4825, allocations: 40.94 kB / 0.587 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4829, allocations: 28.39 kB / 0.5871 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4848, allocations: 1.546 MB / 0.5886 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.485, allocations: 0.6941 MB / 0.5892 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.765e-05/0.4851, allocations: 15.8 kB / 0.5893 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.4852, allocations: 27.12 kB / 0.5893 GB, free: 13.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4852, allocations: 0 / 0.5893 GB, free: 13.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.5058, allocations: 2.672 MB / 0.5919 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.093, allocations: 7.734 kB / 0.5919 GB, free: 12.84 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)