Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.005145/0.005145, allocations: 96.7 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.001407/0.001407, allocations: 201.1 kB / 16.68 MB, free: 5.973 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8662/0.8662, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 71.83 kB / 0.5858 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3039, allocations: 81.02 MB / 0.6649 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001564/0.3055, allocations: 1.274 MB / 0.6661 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006392/0.3061, allocations: 0.572 MB / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.3062, allocations: 0 / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.3062, allocations: 3.938 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.3062, allocations: 9.094 kB / 0.6667 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3065, allocations: 96.19 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.3066, allocations: 20.19 kB / 0.6668 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.3066, allocations: 6.703 kB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.3066, allocations: 3.594 kB / 0.6668 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.3067, allocations: 11.23 kB / 0.6668 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.3067, allocations: 1 kB / 0.6668 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.3069, allocations: 137.4 kB / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.3069, allocations: 13.27 kB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.307, allocations: 7.969 kB / 0.667 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3071, allocations: 90.12 kB / 0.6671 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3071, allocations: 4 kB / 0.6671 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3071, allocations: 1.094 kB / 0.6671 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3072, allocations: 0 / 0.6671 GB, free: 5.141 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002458/0.3074, allocations: 346.1 kB / 0.6674 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3074, allocations: 10.38 kB / 0.6674 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.699e-05/0.3075, allocations: 30.75 kB / 0.6674 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.3078, allocations: 37.23 kB / 0.6675 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.438e-05/0.3079, allocations: 161.8 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.3079, allocations: 384 / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3079, allocations: 1.688 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.308, allocations: 49.28 kB / 0.6677 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.308, allocations: 5.156 kB / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3081, allocations: 0 / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.3081, allocations: 4 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3082, allocations: 24.06 kB / 0.6677 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.414e-05/0.3083, allocations: 157.4 kB / 0.6679 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3084, allocations: 37.44 kB / 0.6679 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.3085, allocations: 23.62 kB / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3085, allocations: 0 / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.3085, allocations: 35.59 kB / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3085, allocations: 0 / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002455/0.3088, allocations: 77.28 kB / 0.668 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/0.3088, allocations: 55.44 kB / 0.6681 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.3088, allocations: 97.53 kB / 0.6682 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.3089, allocations: 27.11 kB / 0.6682 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/0.3089, allocations: 84.14 kB / 0.6683 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3089, allocations: 9.266 kB / 0.6683 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.3089, allocations: 16.17 kB / 0.6683 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 2.821e-05/0.309, allocations: 312.2 kB / 0.6686 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.309, allocations: 18.45 kB / 0.6686 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.3091, allocations: 13.61 kB / 0.6686 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.3092, allocations: 27.22 kB / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3092, allocations: 0 / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001415/0.3093, allocations: 72.06 kB / 0.6687 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3094, allocations: 8.25 kB / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.3094, allocations: 0 / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3094, allocations: 1.062 kB / 0.6687 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.3095, allocations: 9.078 kB / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.3095, allocations: 0 / 0.6687 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.3095, allocations: 6.625 kB / 0.6687 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3095, allocations: 5.172 kB / 0.6687 GB, free: 3.359 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.3096, allocations: 111.2 kB / 0.6689 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.3096, allocations: 5.188 kB / 0.6689 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3096, allocations: 4.219 kB / 0.6689 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3096, allocations: 0 / 0.6689 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3096, allocations: 1.094 kB / 0.6689 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3096, allocations: 0 / 0.6689 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.218e-05/0.3097, allocations: 153.3 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3097, allocations: 1.375 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.3098, allocations: 13.27 kB / 0.669 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3098, allocations: 3.938 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3098, allocations: 0 / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3098, allocations: 5.328 kB / 0.669 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3098, allocations: 3.938 kB / 0.669 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.31, allocations: 88.08 kB / 0.6691 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.31, allocations: 82.19 kB / 0.6692 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.31, allocations: 12.89 kB / 0.6692 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.3101, allocations: 2.188 kB / 0.6692 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.3101, allocations: 1.469 kB / 0.6692 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3101, allocations: 0 / 0.6692 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.3101, allocations: 82.08 kB / 0.6693 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3101, allocations: 0 / 0.6693 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001767/0.3103, allocations: 15.88 kB / 0.6693 GB, free: 2.738 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 (2): * Single equations (assignments): 2 * 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.0003068/0.3106, allocations: 0.6414 MB / 0.6699 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.3108, allocations: 36.12 kB / 0.67 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3108, allocations: 0 / 0.67 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.3109, allocations: 17.3 kB / 0.67 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.311, allocations: 10.12 kB / 0.67 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.3114, allocations: 158 kB / 0.6701 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.3115, allocations: 0.6721 MB / 0.6708 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.3115, allocations: 6.906 kB / 0.6708 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.3116, allocations: 18.14 kB / 0.6708 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.3116, allocations: 0 / 0.6708 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.977/2.289, allocations: 1.564 MB / 0.6724 GB, free: 352 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.182/11.47, allocations: 9.312 kB / 0.6724 GB, free: 348 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)