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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 108 kB / 16.41 MB, free: 6.461 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.001298/0.001298, allocations: 187 kB / 17.34 MB, free: 5.719 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 / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8863/0.8863, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 62.36 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002198/0.1476, allocations: 1.28 MB / 0.6665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.1485, allocations: 0.5775 MB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.1486, allocations: 0 / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.1486, allocations: 3.984 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.1487, allocations: 3.938 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.149, allocations: 91.58 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.1491, allocations: 27.84 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.1492, allocations: 0 / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1492, allocations: 11.94 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.1492, allocations: 7.984 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1493, allocations: 0 / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1495, allocations: 147.7 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1495, allocations: 3.984 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1496, allocations: 7.938 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1498, allocations: 87.84 kB / 0.6675 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1498, allocations: 3.938 kB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1498, allocations: 4 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1498, allocations: 0 / 0.6675 GB, free: 3.562 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.0003785/0.1502, allocations: 339.4 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1502, allocations: 13.11 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.1506, allocations: 32.89 kB / 0.6679 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1508, allocations: 160.4 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-06/0.1508, allocations: 4.375 kB / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1508, allocations: 384 / 0.668 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.151, allocations: 54.16 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.151, allocations: 192 / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.151, allocations: 3.938 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.151, allocations: 4 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1511, allocations: 19.98 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1513, allocations: 161.6 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1515, allocations: 38.55 kB / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.1516, allocations: 20.91 kB / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1516, allocations: 3.984 kB / 0.6683 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1516, allocations: 38.5 kB / 0.6683 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1516, allocations: 0 / 0.6683 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002993/0.1519, allocations: 73.59 kB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.152, allocations: 51.41 kB / 0.6685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.152, allocations: 97.84 kB / 0.6686 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1521, allocations: 33.83 kB / 0.6686 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.1521, allocations: 80.14 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1521, allocations: 15.78 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1522, allocations: 9.719 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1523, allocations: 322.8 kB / 0.669 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.1523, allocations: 7.984 kB / 0.669 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.1524, allocations: 19.94 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1526, allocations: 32.77 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1526, allocations: 0 / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.1527, allocations: 57.67 kB / 0.6691 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1528, allocations: 4 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1528, allocations: 8.031 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1528, allocations: 4 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1529, allocations: 11.98 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1529, allocations: 4 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.153, allocations: 0 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.153, allocations: 0 / 0.6691 GB, free: 1.645 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 8.323e-05/0.1531, allocations: 115.2 kB / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.1531, allocations: 0 / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1531, allocations: 15 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1531, allocations: 0 / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1531, allocations: 4 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1532, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1533, allocations: 157.7 kB / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1533, allocations: 0 / 0.6694 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.1534, allocations: 7.984 kB / 0.6694 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1534, allocations: 0 / 0.6694 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1534, allocations: 3.938 kB / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1534, allocations: 4 kB / 0.6694 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1534, allocations: 4 kB / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1536, allocations: 81.09 kB / 0.6695 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1537, allocations: 89.02 kB / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1537, allocations: 7.922 kB / 0.6696 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.1537, allocations: 4.031 kB / 0.6696 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.1538, allocations: 4 kB / 0.6696 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1538, allocations: 0 / 0.6696 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.1538, allocations: 83.2 kB / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1538, allocations: 0 / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002017/0.154, allocations: 16 kB / 0.6697 GB, free: 0.9609 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.0001501/0.1542, allocations: 103.2 kB / 0.6698 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.1544, allocations: 43.91 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1544, allocations: 0 / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.1545, allocations: 11.98 kB / 0.6699 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1547, allocations: 15.92 kB / 0.6699 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.155, allocations: 144.3 kB / 0.67 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1553, allocations: 0.6729 MB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1554, allocations: 15.42 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1554, allocations: 0 / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002118/0.1575, allocations: 0.7875 MB / 0.6715 GB, free: 15.11 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)