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.001565/0.001565, allocations: 105.9 kB / 16.41 MB, free: 6.445 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.001815/0.001816, allocations: 187 kB / 17.34 MB, free: 5.742 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7816/0.7816, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.05 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002422/0.1583, allocations: 1.28 MB / 0.6666 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1593, allocations: 0.5698 MB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1594, allocations: 3.938 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.1594, allocations: 0 / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.1595, allocations: 11.92 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.16, allocations: 95.56 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.1601, allocations: 19.88 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.1602, allocations: 0 / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1602, allocations: 7.938 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.1603, allocations: 7.984 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1603, allocations: 0 / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1606, allocations: 147.8 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1606, allocations: 0 / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.1607, allocations: 11.94 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1609, allocations: 95.72 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1609, allocations: 0 / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1609, allocations: 0 / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1609, allocations: 0 / 0.6675 GB, free: 3.551 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.0004487/0.1614, allocations: 347.4 kB / 0.6678 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1614, allocations: 9.109 kB / 0.6678 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.1619, allocations: 28.89 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1621, allocations: 168.4 kB / 0.668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1621, allocations: 384 / 0.668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1621, allocations: 4.375 kB / 0.668 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1623, allocations: 50.22 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1623, allocations: 192 / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1623, allocations: 3.938 kB / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1623, allocations: 0 / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1625, allocations: 31.91 kB / 0.6681 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1627, allocations: 157.6 kB / 0.6683 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1628, allocations: 34.59 kB / 0.6683 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.1629, allocations: 20.91 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1629, allocations: 7.984 kB / 0.6683 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.163, allocations: 30.56 kB / 0.6683 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.163, allocations: 0 / 0.6683 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003149/0.1633, allocations: 77.53 kB / 0.6684 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1633, allocations: 51.41 kB / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.1634, allocations: 106 kB / 0.6686 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1635, allocations: 29.64 kB / 0.6686 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.1635, allocations: 84.14 kB / 0.6687 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.1635, allocations: 7.844 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1636, allocations: 25.64 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1637, allocations: 310.8 kB / 0.669 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.1638, allocations: 11.98 kB / 0.669 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.1639, allocations: 15.98 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.164, allocations: 28.84 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.164, allocations: 0 / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001683/0.1642, allocations: 61.61 kB / 0.6691 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1642, allocations: 8.094 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1642, allocations: 3.938 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1642, allocations: 0 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1643, allocations: 11.98 kB / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1643, allocations: 0 / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.1644, allocations: 0 / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1644, allocations: 7.984 kB / 0.6692 GB, free: 1.625 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 7.175e-05/0.1645, allocations: 107.2 kB / 0.6693 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.1645, allocations: 4 kB / 0.6693 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.1646, allocations: 11.06 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1646, allocations: 4 kB / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1646, allocations: 0 / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1646, allocations: 0 / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1647, allocations: 157.7 kB / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1647, allocations: 0 / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.1648, allocations: 7.984 kB / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1648, allocations: 0 / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1648, allocations: 11.94 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1648, allocations: 3.984 kB / 0.6694 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1649, allocations: 0 / 0.6694 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.165, allocations: 81.05 kB / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.1651, allocations: 89 kB / 0.6696 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1652, allocations: 7.969 kB / 0.6696 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1652, allocations: 4 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1652, allocations: 0 / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1653, allocations: 0 / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.1653, allocations: 87.27 kB / 0.6697 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.362e-06/0.1653, allocations: 0 / 0.6697 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002011/0.1655, allocations: 15.94 kB / 0.6697 GB, free: 0.9453 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.0001763/0.1657, allocations: 111.2 kB / 0.6698 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1659, allocations: 35.91 kB / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1659, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.166, allocations: 23.92 kB / 0.6699 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1662, allocations: 0 / 0.6699 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.1666, allocations: 148.3 kB / 0.67 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1669, allocations: 0.6729 MB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.167, allocations: 11.42 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.167, allocations: 0 / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.002355/0.1694, allocations: 0.7975 MB / 0.6715 GB, free: 15.08 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)