Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_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.007803/0.007803, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002254/0.002254, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.449/1.449, 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/IDEAS 3.0.0-master/package.mo): time 0.9997/0.9997, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4742, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002356/0.4765, allocations: 1.675 MB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.4772, allocations: 401.6 kB / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.4773, allocations: 5.406 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.4774, allocations: 15.86 kB / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.4775, allocations: 18.73 kB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.4779, allocations: 112.8 kB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.4781, allocations: 117.6 kB / 0.6664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4782, allocations: 36.62 kB / 0.6664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.4783, allocations: 43.12 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.4784, allocations: 42.97 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.4784, allocations: 7.781 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.4785, allocations: 60.09 kB / 0.6666 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.4786, allocations: 23.89 kB / 0.6666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.4786, allocations: 46.72 kB / 0.6667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.4789, allocations: 130.1 kB / 0.6668 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4789, allocations: 0 / 0.6668 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4789, allocations: 3.938 kB / 0.6668 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.4789, allocations: 1.5 kB / 0.6668 GB, free: 5.25 MB / 0.4981 GB 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.0005202/0.4794, allocations: 422.1 kB / 0.6672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4795, allocations: 13.28 kB / 0.6672 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.4795, allocations: 41.3 kB / 0.6672 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.4798, allocations: 25.38 kB / 0.6673 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.48, allocations: 198 kB / 0.6675 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.48, allocations: 35.78 kB / 0.6675 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.48, allocations: 12.41 kB / 0.6675 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.4803, allocations: 106.1 kB / 0.6676 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4803, allocations: 0 / 0.6676 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4804, allocations: 1.156 kB / 0.6676 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4804, allocations: 2.312 kB / 0.6676 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.4806, allocations: 78.16 kB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.4812, allocations: 395.9 kB / 0.6681 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.4818, allocations: 122.9 kB / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4819, allocations: 44.97 kB / 0.6682 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4819, allocations: 1.281 kB / 0.6682 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.482, allocations: 31.31 kB / 0.6683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.482, allocations: 3.938 kB / 0.6683 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004505/0.4824, allocations: 135.8 kB / 0.6684 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4825, allocations: 60.56 kB / 0.6684 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4826, allocations: 139.8 kB / 0.6686 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4826, allocations: 29.7 kB / 0.6686 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.4827, allocations: 99.98 kB / 0.6687 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.4827, allocations: 23.52 kB / 0.6687 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4827, allocations: 23.05 kB / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.4828, allocations: 316.2 kB / 0.669 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4829, allocations: 33.03 kB / 0.6691 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.483, allocations: 51.62 kB / 0.6691 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.4832, allocations: 76.44 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4832, allocations: 0 / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.4835, allocations: 116.7 kB / 0.6693 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4835, allocations: 5.031 kB / 0.6693 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4835, allocations: 5.203 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4836, allocations: 5.438 kB / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4837, allocations: 20.98 kB / 0.6693 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4837, allocations: 1.156 kB / 0.6693 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.4838, allocations: 16.77 kB / 0.6694 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4838, allocations: 1.484 kB / 0.6694 GB, free: 2.918 MB / 0.4981 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 (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.282e-05/0.4839, allocations: 117.6 kB / 0.6695 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4839, allocations: 12.81 kB / 0.6695 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4839, allocations: 18.27 kB / 0.6695 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4839, allocations: 5.094 kB / 0.6695 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4839, allocations: 1.281 kB / 0.6695 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.484, allocations: 0 / 0.6695 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.4841, allocations: 195.9 kB / 0.6697 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4841, allocations: 0 / 0.6697 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4842, allocations: 20.11 kB / 0.6697 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4843, allocations: 1.031 kB / 0.6697 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4843, allocations: 5 kB / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4843, allocations: 7.922 kB / 0.6697 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4843, allocations: 1.156 kB / 0.6697 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.4846, allocations: 199.4 kB / 0.6699 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.4846, allocations: 87.66 kB / 0.67 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4846, allocations: 3.984 kB / 0.67 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4848, allocations: 22.42 kB / 0.67 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.4848, allocations: 2.656 kB / 0.67 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4848, allocations: 3.062 kB / 0.67 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.4849, allocations: 108.2 kB / 0.6701 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4849, allocations: 5.125 kB / 0.6701 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.4851, allocations: 27.92 kB / 0.6702 GB, free: 2.133 MB / 0.4981 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 (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.0004073/0.4856, allocations: 0.7318 MB / 0.6709 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.4858, allocations: 72.95 kB / 0.671 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4858, allocations: 1.438 kB / 0.671 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4859, allocations: 34.08 kB / 0.671 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4863, allocations: 38.53 kB / 0.671 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4878, allocations: 1.555 MB / 0.6725 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4881, allocations: 0.695 MB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.4881, allocations: 11.45 kB / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.4882, allocations: 28.17 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4882, allocations: 0 / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.5087, allocations: 2.719 MB / 0.6759 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.112, allocations: 6.031 kB / 0.6759 GB, free: 13.82 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)