Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0007988/0.0007988, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001052/0.001052, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4971, allocations: 81.58 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001536/0.4987, allocations: 1.117 MB / 0.5842 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.4991, allocations: 197.4 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.4991, allocations: 4 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.4992, allocations: 2.25 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.4992, allocations: 3.938 kB / 0.5844 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4994, allocations: 21.69 kB / 0.5845 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.4995, allocations: 23.3 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.656e-05/0.4995, allocations: 3.625 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.4996, allocations: 9.188 kB / 0.5845 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.4996, allocations: 9.906 kB / 0.5845 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.4997, allocations: 1.156 kB / 0.5845 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.4998, allocations: 27.84 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.4998, allocations: 1.453 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.4998, allocations: 27.55 kB / 0.5846 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.4999, allocations: 32.27 kB / 0.5846 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4999, allocations: 3.938 kB / 0.5846 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4999, allocations: 0 / 0.5846 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.4999, allocations: 1.469 kB / 0.5846 GB, free: 2.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003529/0.5003, allocations: 348.9 kB / 0.5849 GB, free: 2.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5003, allocations: 8.812 kB / 0.5849 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.5004, allocations: 31.91 kB / 0.585 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.5005, allocations: 7.438 kB / 0.585 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.5006, allocations: 166 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.5006, allocations: 1.734 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5006, allocations: 1.344 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.5008, allocations: 56.98 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5008, allocations: 1.25 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5008, allocations: 0.7031 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5008, allocations: 0 / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.501, allocations: 46.78 kB / 0.5852 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.5013, allocations: 251 kB / 0.5855 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.5015, allocations: 41.89 kB / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.5015, allocations: 32.08 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.5016, allocations: 0.9688 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.5016, allocations: 36.14 kB / 0.5856 GB, free: 1.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5016, allocations: 0 / 0.5856 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.5019, allocations: 110.6 kB / 0.5857 GB, free: 1.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.502, allocations: 52.28 kB / 0.5857 GB, free: 1.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.502, allocations: 101.6 kB / 0.5858 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.5021, allocations: 25.7 kB / 0.5859 GB, free: 1.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.5021, allocations: 82.03 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.5021, allocations: 6.109 kB / 0.5859 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.5021, allocations: 128 / 0.5859 GB, free: 1.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.5022, allocations: 320.5 kB / 0.5863 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.5023, allocations: 19.06 kB / 0.5863 GB, free: 1.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.222e-05/0.5023, allocations: 23.25 kB / 0.5863 GB, free: 1.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.5024, allocations: 22.88 kB / 0.5863 GB, free: 1.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5024, allocations: 0 / 0.5863 GB, free: 1.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.5027, allocations: 81.64 kB / 0.5864 GB, free: 1.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5027, allocations: 12.83 kB / 0.5864 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5027, allocations: 1.062 kB / 0.5864 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5027, allocations: 3.953 kB / 0.5864 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.5028, allocations: 11.86 kB / 0.5864 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5028, allocations: 0 / 0.5864 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.5029, allocations: 12.95 kB / 0.5864 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.5029, allocations: 0.7812 kB / 0.5864 GB, free: 1.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.503, allocations: 116.7 kB / 0.5865 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.503, allocations: 2.531 kB / 0.5865 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.5032, allocations: 84.48 kB / 0.5866 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5032, allocations: 4.031 kB / 0.5866 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5033, allocations: 8.922 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5033, allocations: 0.7031 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.5034, allocations: 156.7 kB / 0.5868 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5034, allocations: 4.688 kB / 0.5868 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.5035, allocations: 16.27 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5035, allocations: 1.219 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5035, allocations: 1.062 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5035, allocations: 0 / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5035, allocations: 1.312 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.5037, allocations: 183.4 kB / 0.587 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.5038, allocations: 78.55 kB / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.5038, allocations: 1.844 kB / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.5039, allocations: 16.61 kB / 0.5871 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.5039, allocations: 2.906 kB / 0.5871 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5039, allocations: 1.141 kB / 0.5871 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.417e-05/0.5039, allocations: 83.17 kB / 0.5872 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5039, allocations: 0.6875 kB / 0.5872 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.5042, allocations: 4.844 kB / 0.5872 GB, free: 0.5234 MB / 430.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000443/0.5046, allocations: 0.7099 MB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5048, allocations: 50.89 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5048, allocations: 0 / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.5049, allocations: 31.38 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.5052, allocations: 2.312 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.5057, allocations: 166.3 kB / 0.5881 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5059, allocations: 0.6761 MB / 0.5888 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.506, allocations: 1.562 kB / 0.5888 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.5061, allocations: 18.81 kB / 0.5888 GB, free: 14.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5061, allocations: 4 kB / 0.5888 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.5203, allocations: 1.08 MB / 0.5898 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.5206, allocations: 196.8 kB / 0.59 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.213, allocations: 0 / 0.59 GB, free: 14.61 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: