Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.009406/0.009406, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002762/0.002762, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8876/0.8876, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.02 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1672, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002296/0.1695, allocations: 1.279 MB / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1706, allocations: 0.6475 MB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.1706, allocations: 0 / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1707, allocations: 0 / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.1707, allocations: 11.94 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1711, allocations: 111.5 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1712, allocations: 23.92 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.1712, allocations: 3.938 kB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.1713, allocations: 11.98 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.1713, allocations: 11.98 kB / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1713, allocations: 0 / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.1716, allocations: 143.7 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1717, allocations: 7.922 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1717, allocations: 11.98 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1719, allocations: 99.98 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1719, allocations: 0 / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1719, allocations: 0 / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.1719, allocations: 0 / 0.6615 GB, free: 8.363 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004947/0.1724, allocations: 363.2 kB / 0.6619 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1725, allocations: 8.031 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1725, allocations: 34.75 kB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.1729, allocations: 32.89 kB / 0.6619 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1731, allocations: 160.4 kB / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1731, allocations: 384 / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1731, allocations: 4.375 kB / 0.6621 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1733, allocations: 66.09 kB / 0.6621 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1733, allocations: 3.938 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1733, allocations: 4 kB / 0.6622 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1733, allocations: 0 / 0.6622 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1735, allocations: 27.97 kB / 0.6622 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.1737, allocations: 161.7 kB / 0.6623 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.174, allocations: 66.53 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.1741, allocations: 28.88 kB / 0.6624 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1741, allocations: 4 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1742, allocations: 34.56 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1742, allocations: 0 / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003312/0.1775, allocations: 0.5837 MB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1775, allocations: 59.39 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.1776, allocations: 89.86 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1776, allocations: 33.83 kB / 0.6632 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.1777, allocations: 84.14 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.1777, allocations: 15.86 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.1778, allocations: 29.69 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1779, allocations: 314.8 kB / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1781, allocations: 35.97 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1782, allocations: 43.95 kB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1785, allocations: 80.77 kB / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1785, allocations: 0 / 0.6638 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003732/0.1789, allocations: 129.5 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1789, allocations: 7.984 kB / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1789, allocations: 0 / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.179, allocations: 4 kB / 0.6639 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1792, allocations: 19.97 kB / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1792, allocations: 0 / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1793, allocations: 4 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1794, allocations: 11.98 kB / 0.664 GB, free: 5.574 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 (7): * Single equations (assignments): 7 * 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 0.0001011/0.1795, allocations: 118.7 kB / 0.6641 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1795, allocations: 4 kB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.1796, allocations: 16.19 kB / 0.6641 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1796, allocations: 8 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1796, allocations: 3.938 kB / 0.6641 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1796, allocations: 0 / 0.6641 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1798, allocations: 183.7 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1798, allocations: 0 / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.18, allocations: 23.91 kB / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.18, allocations: 0 / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.18, allocations: 11.98 kB / 0.6643 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.18, allocations: 0 / 0.6643 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1801, allocations: 3.938 kB / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.1806, allocations: 196.9 kB / 0.6645 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.1807, allocations: 85.08 kB / 0.6646 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1807, allocations: 4.062 kB / 0.6646 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1809, allocations: 11.98 kB / 0.6646 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1809, allocations: 0 / 0.6646 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1809, allocations: 7.984 kB / 0.6646 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.181, allocations: 79.28 kB / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.1812, allocations: 31.88 kB / 0.6647 GB, free: 4.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009413/0.1822, allocations: 0.7684 MB / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1826, allocations: 83.92 kB / 0.6655 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1826, allocations: 0 / 0.6655 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1827, allocations: 48.02 kB / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.183, allocations: 8.25 kB / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.185, allocations: 1.344 MB / 0.6669 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1854, allocations: 0.6768 MB / 0.6676 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.1855, allocations: 28.03 kB / 0.6676 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1856, allocations: 15.42 kB / 0.6676 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of SimCode: time 5.19e-06/0.1856, allocations: 4 kB / 0.6676 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.2108, allocations: 2.49 MB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.269, allocations: 15.14 kB / 0.6701 GB, free: 15.27 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)