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.001053/0.001053, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001136/0.001136, allocations: 194.9 kB / 16.26 MB, free: 6.637 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9765/0.9765, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.64 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 80.94 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002343/0.1532, allocations: 1.337 MB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.1541, allocations: 0.5633 MB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.1541, allocations: 3.938 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1542, allocations: 0 / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.1543, allocations: 15.91 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1547, allocations: 79.66 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.1547, allocations: 23.86 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1548, allocations: 4 kB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.1548, allocations: 4 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.1549, allocations: 11.92 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1549, allocations: 0 / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.1551, allocations: 143.7 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1552, allocations: 0 / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1552, allocations: 15.92 kB / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1554, allocations: 96.11 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1554, allocations: 0 / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1554, allocations: 0 / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1554, allocations: 4 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB 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.0003425/0.1557, allocations: 347.4 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1558, allocations: 8.031 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.1558, allocations: 34.75 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.1562, allocations: 28.89 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.1563, allocations: 164.4 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1564, allocations: 8.312 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1564, allocations: 384 / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1565, allocations: 50.22 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1566, allocations: 3.938 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1566, allocations: 0 / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1566, allocations: 4 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1567, allocations: 19.98 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.1569, allocations: 161.7 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.157, allocations: 46.53 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.1571, allocations: 24.91 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1571, allocations: 0 / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1571, allocations: 30.56 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1571, allocations: 0 / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002748/0.1574, allocations: 73.72 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1575, allocations: 55.41 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.1575, allocations: 101.8 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1576, allocations: 25.7 kB / 0.5874 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1576, allocations: 80.14 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1576, allocations: 3.906 kB / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1577, allocations: 21.7 kB / 0.5875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.1577, allocations: 314.8 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.1578, allocations: 19.92 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.1579, allocations: 12 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.158, allocations: 28.83 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.158, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001603/0.1582, allocations: 65.83 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1582, allocations: 11.94 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1582, allocations: 0 / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1582, allocations: 0 / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1583, allocations: 11.97 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1583, allocations: 7.875 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.1584, allocations: 7.938 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1584, allocations: 0 / 0.5879 GB, free: 476 kB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.1585, allocations: 117.9 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1585, allocations: 3.938 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.1585, allocations: 7.125 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1585, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1586, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1586, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.1587, allocations: 153.7 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1587, allocations: 4 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1588, allocations: 11.98 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1588, allocations: 3.938 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1588, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1588, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1588, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.159, allocations: 89.09 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.159, allocations: 81.05 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1591, allocations: 15.92 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.1591, allocations: 0 / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.1591, allocations: 0 / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1592, allocations: 4 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.1592, allocations: 79.27 kB / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1592, allocations: 0 / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001944/0.1594, allocations: 16 kB / 0.5885 GB, free: 15.79 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.0004506/0.1599, allocations: 0.6358 MB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.16, allocations: 35.94 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.16, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.1601, allocations: 15.98 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1603, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.1607, allocations: 160.2 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1609, allocations: 0.6768 MB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.382e-05/0.161, allocations: 11.94 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1611, allocations: 15.42 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1611, allocations: 0 / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6914/0.8525, allocations: 1.459 MB / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.8527, allocations: 213.5 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.007, allocations: 0 / 0.5916 GB, free: 12.6 MB / 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)