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.0008544/0.0008544, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009085/0.0009085, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.89 kB / 0.5012 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4751, allocations: 80.2 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003381/0.4786, allocations: 1.715 MB / 0.5812 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.4795, allocations: 411.5 kB / 0.5816 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.4796, allocations: 4.969 kB / 0.5816 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.4797, allocations: 6.828 kB / 0.5816 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.4798, allocations: 18.17 kB / 0.5816 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.4802, allocations: 109.9 kB / 0.5817 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.4804, allocations: 104.4 kB / 0.5818 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4806, allocations: 45.08 kB / 0.5818 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.4807, allocations: 40.5 kB / 0.5819 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.4808, allocations: 36.2 kB / 0.5819 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4808, allocations: 13.03 kB / 0.5819 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.481, allocations: 58.25 kB / 0.582 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.481, allocations: 15.75 kB / 0.582 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.4811, allocations: 51.06 kB / 0.582 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.4814, allocations: 120.3 kB / 0.5822 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4814, allocations: 1.375 kB / 0.5822 GB, free: 2.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4814, allocations: 0 / 0.5822 GB, free: 2.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4815, allocations: 0 / 0.5822 GB, free: 2.812 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.0007196/0.4822, allocations: 421.3 kB / 0.5826 GB, free: 2.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.4822, allocations: 9.938 kB / 0.5826 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.4823, allocations: 43.66 kB / 0.5826 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.4826, allocations: 32.05 kB / 0.5826 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.4828, allocations: 189.3 kB / 0.5828 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.4829, allocations: 35.12 kB / 0.5829 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.4829, allocations: 10.34 kB / 0.5829 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.4833, allocations: 112.7 kB / 0.583 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4833, allocations: 1 kB / 0.583 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.4833, allocations: 5.344 kB / 0.583 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4834, allocations: 9.672 kB / 0.583 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.4836, allocations: 74.72 kB / 0.5831 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.4845, allocations: 387.2 kB / 0.5834 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.4852, allocations: 129 kB / 0.5836 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.4853, allocations: 38.17 kB / 0.5836 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4854, allocations: 1.266 kB / 0.5836 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4854, allocations: 40.52 kB / 0.5836 GB, free: 1.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4854, allocations: 0.75 kB / 0.5836 GB, free: 1.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.00056/0.486, allocations: 129.7 kB / 0.5838 GB, free: 1.527 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.486, allocations: 60.56 kB / 0.5838 GB, free: 1.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4862, allocations: 135.8 kB / 0.5839 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4862, allocations: 26.83 kB / 0.584 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.4863, allocations: 106.3 kB / 0.5841 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4864, allocations: 25.34 kB / 0.5841 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.4864, allocations: 20.75 kB / 0.5841 GB, free: 1.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4866, allocations: 319 kB / 0.5844 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4867, allocations: 30.94 kB / 0.5844 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.4869, allocations: 46.55 kB / 0.5845 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.4871, allocations: 83.66 kB / 0.5846 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4871, allocations: 0 / 0.5846 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000304/0.4874, allocations: 108.8 kB / 0.5847 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4875, allocations: 9.406 kB / 0.5847 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4875, allocations: 1.109 kB / 0.5847 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4875, allocations: 9.094 kB / 0.5847 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4876, allocations: 21.48 kB / 0.5847 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4877, allocations: 4.703 kB / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.4878, allocations: 8.812 kB / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4878, allocations: 1.156 kB / 0.5847 GB, free: 0.707 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 9.738e-05/0.4879, allocations: 114.4 kB / 0.5848 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.4879, allocations: 8.562 kB / 0.5848 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.488, allocations: 20.38 kB / 0.5849 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.488, allocations: 8.656 kB / 0.5849 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.488, allocations: 0.6875 kB / 0.5849 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.488, allocations: 0.7031 kB / 0.5849 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4883, allocations: 198.2 kB / 0.5851 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4883, allocations: 5.797 kB / 0.5851 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4884, allocations: 15.42 kB / 0.5851 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4884, allocations: 1.188 kB / 0.5851 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4885, allocations: 4 kB / 0.5851 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4885, allocations: 5.203 kB / 0.5851 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4885, allocations: 0 / 0.5851 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.4888, allocations: 205.3 kB / 0.5853 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.4889, allocations: 92.55 kB / 0.5854 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.4889, allocations: 1.906 kB / 0.5854 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4891, allocations: 13.69 kB / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.4891, allocations: 9.016 kB / 0.5854 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4891, allocations: 12.17 kB / 0.5854 GB, free: 56 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4893, allocations: 106.2 kB / 0.5855 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4893, allocations: 1.062 kB / 0.5855 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.4896, allocations: 16.16 kB / 0.5855 GB, free: 15.97 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.000722/0.4903, allocations: 0.7322 MB / 0.5862 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.4906, allocations: 75.17 kB / 0.5863 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4906, allocations: 0 / 0.5863 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4908, allocations: 36.47 kB / 0.5864 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.4913, allocations: 38.36 kB / 0.5864 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4936, allocations: 1.56 MB / 0.5879 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.4939, allocations: 0.6943 MB / 0.5886 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.4941, allocations: 12.42 kB / 0.5886 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.4941, allocations: 25.47 kB / 0.5886 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4941, allocations: 1.5 kB / 0.5886 GB, free: 13.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.5111, allocations: 2.46 MB / 0.591 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.5115, allocations: 207.1 kB / 0.5912 GB, free: 12.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.356, allocations: 0 / 0.5912 GB, free: 12.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)