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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 182.2 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-master/package.mo): time 0.7214/0.7214, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.479/1.479, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001183/0.001183, allocations: 95.75 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1308, allocations: 80.43 MB / 0.6422 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002475/0.1333, allocations: 1.341 MB / 0.6435 GB, free: 4.062 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1344, allocations: 0.6526 MB / 0.6441 GB, free: 3.406 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.1344, allocations: 4 kB / 0.6441 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1345, allocations: 3.984 kB / 0.6441 GB, free: 3.398 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.1345, allocations: 3.938 kB / 0.6441 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1349, allocations: 91.69 kB / 0.6442 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.135, allocations: 27.86 kB / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.135, allocations: 0 / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.1351, allocations: 12 kB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.1351, allocations: 15.91 kB / 0.6443 GB, free: 3.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1352, allocations: 0 / 0.6443 GB, free: 3.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1355, allocations: 151.7 kB / 0.6444 GB, free: 3.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1355, allocations: 3.984 kB / 0.6444 GB, free: 3.098 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1355, allocations: 15.92 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1358, allocations: 100 kB / 0.6445 GB, free: 2.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1358, allocations: 0 / 0.6445 GB, free: 2.984 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1358, allocations: 4 kB / 0.6445 GB, free: 2.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1358, allocations: 0 / 0.6445 GB, free: 2.98 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.0005028/0.1363, allocations: 351.4 kB / 0.6449 GB, free: 2.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1364, allocations: 12.03 kB / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.1368, allocations: 28.91 kB / 0.6449 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1369, allocations: 168.3 kB / 0.6451 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.137, allocations: 4.312 kB / 0.6451 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.137, allocations: 4.375 kB / 0.6451 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1372, allocations: 58.22 kB / 0.6451 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1372, allocations: 4.188 kB / 0.6451 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1372, allocations: 3.938 kB / 0.6451 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1372, allocations: 0 / 0.6451 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1374, allocations: 27.97 kB / 0.6452 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.1376, allocations: 157.7 kB / 0.6453 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1379, allocations: 70.52 kB / 0.6454 GB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.138, allocations: 28.92 kB / 0.6454 GB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.138, allocations: 0 / 0.6454 GB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.138, allocations: 38.56 kB / 0.6454 GB, free: 1.879 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1381, allocations: 4 kB / 0.6454 GB, free: 1.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.003165/0.1412, allocations: 0.5761 MB / 0.646 GB, free: 1.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1413, allocations: 51.41 kB / 0.6461 GB, free: 1.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.1413, allocations: 101.8 kB / 0.6461 GB, free: 1.074 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1414, allocations: 33.64 kB / 0.6462 GB, free: 1.035 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1414, allocations: 80.14 kB / 0.6463 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1414, allocations: 15.81 kB / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.1415, allocations: 33.62 kB / 0.6463 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.1416, allocations: 310.8 kB / 0.6466 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1418, allocations: 36.09 kB / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1419, allocations: 39.97 kB / 0.6467 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1422, allocations: 84.88 kB / 0.6468 GB, free: 436 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1422, allocations: 0 / 0.6468 GB, free: 436 kB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003505/0.1426, allocations: 129.7 kB / 0.6469 GB, free: 300 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1426, allocations: 9.656 kB / 0.6469 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1426, allocations: 0 / 0.6469 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1426, allocations: 0 / 0.6469 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1428, allocations: 27.91 kB / 0.6469 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1429, allocations: 8 kB / 0.6469 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.143, allocations: 11.98 kB / 0.6469 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.143, allocations: 4 kB / 0.6469 GB, free: 240 kB / 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 0.0001015/0.1431, allocations: 113.8 kB / 0.647 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1432, allocations: 7.938 kB / 0.6471 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/0.1432, allocations: 11.97 kB / 0.6471 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1433, allocations: 0 / 0.6471 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1433, allocations: 4 kB / 0.6471 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1433, allocations: 0 / 0.6471 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1435, allocations: 175.7 kB / 0.6472 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1435, allocations: 0 / 0.6472 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.1437, allocations: 23.97 kB / 0.6473 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.1437, allocations: 3.938 kB / 0.6473 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.1438, allocations: 11.98 kB / 0.6473 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1438, allocations: 4 kB / 0.6473 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1438, allocations: 0 / 0.6473 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/0.1498, allocations: 1.578 MB / 0.6488 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.1498, allocations: 81.02 kB / 0.6489 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1499, allocations: 4.031 kB / 0.6489 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.15, allocations: 7.984 kB / 0.6489 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1501, allocations: 4 kB / 0.6489 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1501, allocations: 3.984 kB / 0.6489 GB, free: 13.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.1501, allocations: 87.28 kB / 0.649 GB, free: 13.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 4.156 kB / 0.649 GB, free: 13.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.1505, allocations: 35.94 kB / 0.649 GB, free: 13.84 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.0002107/0.1507, allocations: 131.3 kB / 0.6492 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.151, allocations: 87.8 kB / 0.6492 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.151, allocations: 8 kB / 0.6493 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1512, allocations: 39.97 kB / 0.6493 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.1514, allocations: 11.98 kB / 0.6493 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.1522, allocations: 282.7 kB / 0.6496 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1524, allocations: 0.6809 MB / 0.6502 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.1527, allocations: 32.08 kB / 0.6503 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1527, allocations: 23.41 kB / 0.6503 GB, free: 12.49 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1527, allocations: 3.938 kB / 0.6503 GB, free: 12.48 MB / 458.7 MB Notification: Performance of Templates: time 0.003808/0.1565, allocations: 1.499 MB / 0.6518 GB, free: 11.03 MB / 458.7 MB 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)