Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001121/0.001121, allocations: 109.8 kB / 16.41 MB, free: 6.473 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.00123/0.00123, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.39 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002121/0.1354, allocations: 1.269 MB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.1363, allocations: 0.6515 MB / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1364, allocations: 0 / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1364, allocations: 0 / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.1365, allocations: 7.938 kB / 0.634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1369, allocations: 107.5 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.1369, allocations: 23.92 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.137, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.137, allocations: 19.94 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.1371, allocations: 11.97 kB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1371, allocations: 0 / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1374, allocations: 143.8 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1374, allocations: 3.984 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.1374, allocations: 15.92 kB / 0.6343 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1376, allocations: 99.7 kB / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1377, allocations: 0 / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1377, allocations: 0 / 0.6344 GB, free: 2.043 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1377, allocations: 4 kB / 0.6344 GB, free: 2.039 MB / 478.1 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.0004452/0.1381, allocations: 351.5 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1382, allocations: 8.031 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.1386, allocations: 32.81 kB / 0.6348 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1387, allocations: 164.4 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1387, allocations: 384 / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1387, allocations: 8.375 kB / 0.6349 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1389, allocations: 54.22 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1389, allocations: 192 / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.139, allocations: 7.938 kB / 0.635 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.139, allocations: 0 / 0.635 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1391, allocations: 27.91 kB / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1393, allocations: 165.6 kB / 0.6352 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1396, allocations: 70.56 kB / 0.6352 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.1397, allocations: 32.92 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1397, allocations: 0 / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1397, allocations: 42.5 kB / 0.6353 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.1397, allocations: 3.938 kB / 0.6353 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.003107/0.1428, allocations: 0.5759 MB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.1429, allocations: 55.41 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.1429, allocations: 101.8 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.143, allocations: 25.7 kB / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.143, allocations: 80.14 kB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.143, allocations: 19.89 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1431, allocations: 29.69 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1432, allocations: 314.8 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1433, allocations: 40.09 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1435, allocations: 35.97 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.1437, allocations: 84.8 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1437, allocations: 4 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003315/0.1441, allocations: 121.6 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1441, allocations: 7.938 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1441, allocations: 0 / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1441, allocations: 0 / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1443, allocations: 27.97 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1444, allocations: 0 / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1445, allocations: 7.984 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1445, allocations: 4 kB / 0.6368 GB, free: 15.3 MB / 494.1 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 8.05e-05/0.1446, allocations: 113.8 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1446, allocations: 11.84 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1447, allocations: 11.97 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1447, allocations: 0 / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1447, allocations: 7.938 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1447, allocations: 3.938 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1449, allocations: 179.5 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1449, allocations: 0 / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1451, allocations: 27.97 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1451, allocations: 7.938 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1451, allocations: 7.984 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1451, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1451, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.1456, allocations: 189 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1457, allocations: 81.05 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1457, allocations: 8.016 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1459, allocations: 4.125 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1459, allocations: 11.92 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.146, allocations: 12 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.146, allocations: 83.33 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.146, allocations: 0 / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1463, allocations: 31.94 kB / 0.6375 GB, free: 14.42 MB / 494.1 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.0002662/0.1465, allocations: 127.2 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1469, allocations: 88.02 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1469, allocations: 8 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1471, allocations: 47.89 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1473, allocations: 8.609 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.148, allocations: 160 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1483, allocations: 0.6729 MB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1484, allocations: 36.62 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1485, allocations: 19.42 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1485, allocations: 0 / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Templates: time 0.003773/0.1523, allocations: 1.495 MB / 0.6401 GB, free: 11.75 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)