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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.3 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 52.06 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1396, allocations: 80.21 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002378/0.142, allocations: 1.342 MB / 0.6415 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1431, allocations: 0.6562 MB / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.1431, allocations: 0 / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.1432, allocations: 3.938 kB / 0.6421 GB, free: 4.742 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.1432, allocations: 4 kB / 0.6422 GB, free: 4.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1436, allocations: 95.62 kB / 0.6422 GB, free: 4.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.1436, allocations: 27.92 kB / 0.6423 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1437, allocations: 0 / 0.6423 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.1437, allocations: 15.92 kB / 0.6423 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.1438, allocations: 11.98 kB / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1438, allocations: 0 / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1441, allocations: 147.7 kB / 0.6424 GB, free: 4.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1441, allocations: 4 kB / 0.6424 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1441, allocations: 15.92 kB / 0.6425 GB, free: 4.426 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1443, allocations: 104 kB / 0.6426 GB, free: 4.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1443, allocations: 0 / 0.6426 GB, free: 4.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1443, allocations: 4 kB / 0.6426 GB, free: 4.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1443, allocations: 0 / 0.6426 GB, free: 4.32 MB / 442.7 MB 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.000443/0.1448, allocations: 355.4 kB / 0.6429 GB, free: 3.922 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1448, allocations: 8.031 kB / 0.6429 GB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.1452, allocations: 28.89 kB / 0.6429 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1454, allocations: 168.3 kB / 0.6431 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.1454, allocations: 4.375 kB / 0.6431 GB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1454, allocations: 4.375 kB / 0.6431 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1456, allocations: 58.2 kB / 0.6432 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1456, allocations: 192 / 0.6432 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1456, allocations: 3.938 kB / 0.6432 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1456, allocations: 0 / 0.6432 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1458, allocations: 35.91 kB / 0.6432 GB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.146, allocations: 161.7 kB / 0.6434 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.1463, allocations: 62.58 kB / 0.6434 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.1464, allocations: 32.94 kB / 0.6434 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1464, allocations: 0 / 0.6434 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1464, allocations: 30.56 kB / 0.6435 GB, free: 3.223 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1464, allocations: 0 / 0.6435 GB, free: 3.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.003214/0.1496, allocations: 0.5876 MB / 0.644 GB, free: 2.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1497, allocations: 55.34 kB / 0.6441 GB, free: 2.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.1497, allocations: 97.86 kB / 0.6442 GB, free: 2.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1498, allocations: 25.7 kB / 0.6442 GB, free: 2.379 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.1498, allocations: 80.14 kB / 0.6443 GB, free: 2.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1498, allocations: 19.8 kB / 0.6443 GB, free: 2.277 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.1499, allocations: 21.83 kB / 0.6443 GB, free: 2.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.15, allocations: 318.8 kB / 0.6446 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1501, allocations: 35.97 kB / 0.6447 GB, free: 1.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1503, allocations: 39.97 kB / 0.6447 GB, free: 1.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.1506, allocations: 84.95 kB / 0.6448 GB, free: 1.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1506, allocations: 64 / 0.6448 GB, free: 1.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003886/0.151, allocations: 133.5 kB / 0.6449 GB, free: 1.633 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.151, allocations: 13.19 kB / 0.6449 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.151, allocations: 4 kB / 0.6449 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.151, allocations: 0 / 0.6449 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1512, allocations: 23.91 kB / 0.645 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1513, allocations: 4 kB / 0.645 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1514, allocations: 4 kB / 0.645 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1514, allocations: 3.984 kB / 0.645 GB, free: 1.582 MB / 442.7 MB 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 7.291e-05/0.1515, allocations: 113.8 kB / 0.6451 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.1515, allocations: 7.938 kB / 0.6451 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.1516, allocations: 11.97 kB / 0.6451 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1516, allocations: 3.984 kB / 0.6451 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1516, allocations: 0 / 0.6451 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1516, allocations: 0 / 0.6451 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1518, allocations: 183.7 kB / 0.6453 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1518, allocations: 4 kB / 0.6453 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.152, allocations: 27.97 kB / 0.6453 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.152, allocations: 3.938 kB / 0.6453 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.152, allocations: 0 / 0.6453 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.152, allocations: 0 / 0.6453 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1521, allocations: 0 / 0.6453 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/0.1582, allocations: 1.582 MB / 0.6469 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.1583, allocations: 85.02 kB / 0.6469 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1583, allocations: 0 / 0.6469 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1585, allocations: 16.31 kB / 0.647 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1585, allocations: 0 / 0.647 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1585, allocations: 11.98 kB / 0.647 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.1586, allocations: 75.28 kB / 0.647 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1586, allocations: 0 / 0.647 GB, free: 15.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.159, allocations: 39.94 kB / 0.6471 GB, free: 15.18 MB / 458.7 MB 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.000231/0.1592, allocations: 127.2 kB / 0.6472 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.1595, allocations: 91.95 kB / 0.6473 GB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1596, allocations: 0 / 0.6473 GB, free: 14.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1597, allocations: 43.95 kB / 0.6473 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1599, allocations: 15.98 kB / 0.6473 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.1606, allocations: 290.6 kB / 0.6476 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1609, allocations: 0.6809 MB / 0.6483 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.1611, allocations: 36.09 kB / 0.6483 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1612, allocations: 15.42 kB / 0.6483 GB, free: 13.82 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1612, allocations: 0 / 0.6483 GB, free: 13.82 MB / 458.7 MB Notification: Performance of Templates: time 0.003628/0.1648, allocations: 1.494 MB / 0.6498 GB, free: 12.36 MB / 458.7 MB 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)