Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 104.5 kB / 16.41 MB, free: 6.457 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.001159/0.001159, allocations: 189.5 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.62 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002985/0.1568, allocations: 1.26 MB / 0.6665 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005697/0.1574, allocations: 235.5 kB / 0.6668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1574, allocations: 0 / 0.6668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1575, allocations: 0 / 0.6668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.1575, allocations: 7.938 kB / 0.6668 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1579, allocations: 47.81 kB / 0.6668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.158, allocations: 19.94 kB / 0.6668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.158, allocations: 3.984 kB / 0.6668 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.1581, allocations: 4 kB / 0.6668 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.1581, allocations: 11.92 kB / 0.6669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1582, allocations: 0 / 0.6669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1583, allocations: 47.95 kB / 0.6669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.1583, allocations: 7.984 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.1584, allocations: 11.94 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1585, allocations: 43.89 kB / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1585, allocations: 0 / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1585, allocations: 0 / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1585, allocations: 0 / 0.667 GB, free: 4.098 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005142/0.1591, allocations: 331.5 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1591, allocations: 17.09 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1593, allocations: 4.938 kB / 0.6673 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1594, allocations: 176.4 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1595, allocations: 4.312 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1595, allocations: 384 / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1597, allocations: 46.25 kB / 0.6675 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1597, allocations: 4.188 kB / 0.6675 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1597, allocations: 7.875 kB / 0.6675 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1597, allocations: 0 / 0.6675 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.1598, allocations: 12 kB / 0.6675 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.16, allocations: 153.7 kB / 0.6677 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.807e-05/0.1601, allocations: 50.62 kB / 0.6677 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.1601, allocations: 20.97 kB / 0.6678 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1601, allocations: 7.938 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1602, allocations: 30.56 kB / 0.6678 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1602, allocations: 0 / 0.6678 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002127/0.1623, allocations: 0.4982 MB / 0.6683 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1624, allocations: 55.39 kB / 0.6683 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.1624, allocations: 89.86 kB / 0.6684 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1624, allocations: 29.69 kB / 0.6684 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1625, allocations: 88.14 kB / 0.6685 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1625, allocations: 23.56 kB / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1626, allocations: 25.72 kB / 0.6686 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1627, allocations: 314.8 kB / 0.6689 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.1628, allocations: 20 kB / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.1628, allocations: 23.98 kB / 0.6689 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1629, allocations: 56.8 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1629, allocations: 0 / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001696/0.1631, allocations: 97.67 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1631, allocations: 7.938 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1631, allocations: 3.938 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1632, allocations: 4 kB / 0.6691 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1633, allocations: 12 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1633, allocations: 288 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.1634, allocations: 4 kB / 0.6691 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1634, allocations: 0 / 0.6691 GB, free: 1.641 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 (9): * Single equations (assignments): 9 * 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.556e-05/0.1635, allocations: 123.1 kB / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1635, allocations: 15.84 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.1636, allocations: 15.91 kB / 0.6692 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1636, allocations: 0 / 0.6692 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1636, allocations: 0 / 0.6692 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1636, allocations: 0 / 0.6692 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1638, allocations: 175.3 kB / 0.6694 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1638, allocations: 4 kB / 0.6694 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1639, allocations: 11.94 kB / 0.6694 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.164, allocations: 7.938 kB / 0.6694 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.164, allocations: 0 / 0.6694 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.164, allocations: 4 kB / 0.6694 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.164, allocations: 0 / 0.6694 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1642, allocations: 145.1 kB / 0.6696 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1643, allocations: 88.98 kB / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1643, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1645, allocations: 8 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1645, allocations: 11.97 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1645, allocations: 64 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.1645, allocations: 79.28 kB / 0.6698 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 0.6698 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002061/0.1648, allocations: 12 kB / 0.6698 GB, free: 0.8555 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 (8): * Single equations (assignments): 8 * 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.00014/0.1649, allocations: 108.9 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1651, allocations: 55.97 kB / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1651, allocations: 0 / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.1652, allocations: 35.94 kB / 0.67 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1655, allocations: 19.48 kB / 0.67 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.1661, allocations: 196.4 kB / 0.6702 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1664, allocations: 0.6807 MB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.1664, allocations: 11.44 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1664, allocations: 0 / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.002539/0.169, allocations: 0.8968 MB / 0.6717 GB, free: 14.8 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)