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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001081/0.001081, allocations: 105.8 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.001102/0.001103, 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7932/0.7932, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.73 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00251/0.1439, allocations: 1.283 MB / 0.6616 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.145, allocations: 0.6437 MB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.1451, allocations: 0 / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1451, allocations: 0 / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.1452, allocations: 7.922 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1457, allocations: 107.5 kB / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.1458, allocations: 27.86 kB / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1458, allocations: 4 kB / 0.6624 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.1459, allocations: 15.92 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.1459, allocations: 4 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1459, allocations: 4 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1463, allocations: 143.8 kB / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.1463, allocations: 11.92 kB / 0.6625 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1463, allocations: 8 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1465, allocations: 99.75 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1466, allocations: 4 kB / 0.6627 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1466, allocations: 0 / 0.6627 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1466, allocations: 0 / 0.6627 GB, free: 7.883 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.0005165/0.1471, allocations: 355.4 kB / 0.663 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1471, allocations: 12.03 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.1476, allocations: 32.89 kB / 0.663 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1477, allocations: 164.3 kB / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1478, allocations: 384 / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1478, allocations: 8.312 kB / 0.6632 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.148, allocations: 58.22 kB / 0.6633 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.148, allocations: 192 / 0.6633 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.148, allocations: 3.938 kB / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.148, allocations: 0 / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1482, allocations: 31.97 kB / 0.6633 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1484, allocations: 165.6 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1487, allocations: 70.47 kB / 0.6635 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.1488, allocations: 28.94 kB / 0.6635 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1488, allocations: 4 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1488, allocations: 30.56 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1488, allocations: 0 / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003361/0.1522, allocations: 0.5723 MB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1523, allocations: 55.34 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.1523, allocations: 101.8 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1524, allocations: 25.7 kB / 0.6643 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.1524, allocations: 80.14 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1524, allocations: 19.72 kB / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1525, allocations: 29.81 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1526, allocations: 310.8 kB / 0.6647 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1528, allocations: 39.97 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1529, allocations: 39.97 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1532, allocations: 84.95 kB / 0.6649 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1532, allocations: 0 / 0.6649 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000361/0.1536, allocations: 129.6 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1536, allocations: 15.94 kB / 0.665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1536, allocations: 0 / 0.665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1536, allocations: 0 / 0.665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1539, allocations: 23.95 kB / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1539, allocations: 4 kB / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.154, allocations: 7.938 kB / 0.6651 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1541, allocations: 8.047 kB / 0.6651 GB, free: 5.137 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 9.12e-05/0.1542, allocations: 118.7 kB / 0.6652 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1542, allocations: 3.938 kB / 0.6652 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.1543, allocations: 11.97 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1543, allocations: 0 / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1543, allocations: 0 / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1543, allocations: 0 / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1545, allocations: 191.6 kB / 0.6654 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1545, allocations: 3.938 kB / 0.6654 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1547, allocations: 23.97 kB / 0.6654 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1547, allocations: 7.938 kB / 0.6654 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1547, allocations: 7.922 kB / 0.6654 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1547, allocations: 0 / 0.6654 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1547, allocations: 0 / 0.6654 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1553, allocations: 193 kB / 0.6656 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.1554, allocations: 81.05 kB / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1554, allocations: 0 / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1556, allocations: 16.05 kB / 0.6657 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.1556, allocations: 0 / 0.6657 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1556, allocations: 7.984 kB / 0.6657 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.1557, allocations: 79.28 kB / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1557, allocations: 4 kB / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002548/0.1559, allocations: 27.94 kB / 0.6658 GB, free: 4.27 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.0002234/0.1562, allocations: 127.3 kB / 0.6659 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.1565, allocations: 87.92 kB / 0.666 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1565, allocations: 0 / 0.666 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1567, allocations: 47.95 kB / 0.6661 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.157, allocations: 12 kB / 0.6661 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.1576, allocations: 191.7 kB / 0.6663 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1579, allocations: 0.6807 MB / 0.6669 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.158, allocations: 19.41 kB / 0.6669 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.158, allocations: 0 / 0.6669 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.003387/0.1614, allocations: 1.582 MB / 0.6685 GB, free: 1.477 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)