Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 109 kB / 16.41 MB, free: 6.496 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.001641/0.001641, allocations: 187 kB / 17.34 MB, free: 5.762 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8156/0.8156, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 72.55 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002444/0.1475, allocations: 1.28 MB / 0.6666 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1487, allocations: 0.6437 MB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1487, allocations: 0 / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1488, allocations: 0 / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.1488, allocations: 11.91 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.1494, allocations: 103.5 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.1494, allocations: 27.91 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1495, allocations: 8 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.1495, allocations: 7.938 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1496, allocations: 11.98 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1496, allocations: 4 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1499, allocations: 139.8 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1499, allocations: 11.94 kB / 0.6675 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.15, allocations: 4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1502, allocations: 103.7 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1502, allocations: 0 / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1502, allocations: 0 / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1502, allocations: 0 / 0.6676 GB, free: 3.441 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.0005005/0.1507, allocations: 367.4 kB / 0.668 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1508, allocations: 9.109 kB / 0.668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.1512, allocations: 24.91 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1514, allocations: 164.4 kB / 0.6681 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1514, allocations: 8.375 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1514, allocations: 384 / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1516, allocations: 58.2 kB / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1516, allocations: 192 / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1516, allocations: 15.81 kB / 0.6682 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1516, allocations: 0 / 0.6682 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1518, allocations: 31.97 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.152, allocations: 165.6 kB / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1523, allocations: 66.56 kB / 0.6685 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.1524, allocations: 28.94 kB / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1525, allocations: 4 kB / 0.6685 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1525, allocations: 34.5 kB / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1525, allocations: 0 / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003404/0.1559, allocations: 0.5759 MB / 0.6691 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.156, allocations: 55.41 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.156, allocations: 93.86 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1561, allocations: 25.7 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1561, allocations: 84.12 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1562, allocations: 23.7 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1562, allocations: 21.7 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.1563, allocations: 319 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1565, allocations: 43.97 kB / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1566, allocations: 35.97 kB / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1569, allocations: 84.95 kB / 0.6699 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1569, allocations: 3.938 kB / 0.6699 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000355/0.1573, allocations: 117.6 kB / 0.67 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1573, allocations: 11.94 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1573, allocations: 0 / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1573, allocations: 0 / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.1576, allocations: 27.97 kB / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1576, allocations: 0 / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1577, allocations: 4 kB / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1578, allocations: 7.984 kB / 0.67 GB, free: 0.6953 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 8.253e-05/0.1579, allocations: 109.8 kB / 0.6701 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1579, allocations: 3.938 kB / 0.6701 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.158, allocations: 23.89 kB / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.158, allocations: 0 / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.158, allocations: 0 / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.158, allocations: 0 / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1581, allocations: 195.4 kB / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1582, allocations: 0 / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1584, allocations: 27.97 kB / 0.6704 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1584, allocations: 3.938 kB / 0.6704 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1584, allocations: 0 / 0.6704 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1584, allocations: 3.938 kB / 0.6704 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1584, allocations: 3.984 kB / 0.6704 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.159, allocations: 197 kB / 0.6706 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.159, allocations: 81.05 kB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1591, allocations: 0 / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1593, allocations: 16.02 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.1593, allocations: 7.938 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1593, allocations: 8.047 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.1594, allocations: 79.28 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1594, allocations: 0 / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002582/0.1596, allocations: 31.94 kB / 0.6708 GB, free: 15.82 MB / 0.5137 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.0002083/0.1599, allocations: 128.5 kB / 0.6709 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.1602, allocations: 88.02 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1602, allocations: 0 / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1604, allocations: 43.91 kB / 0.671 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1607, allocations: 11.98 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.1613, allocations: 183.7 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1615, allocations: 0.6845 MB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.1616, allocations: 23.41 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1616, allocations: 0 / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.003258/0.1649, allocations: 1.582 MB / 0.6735 GB, free: 13.03 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)