Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 183.4 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.7058/0.7058, allocations: 132.2 MB / 148.9 MB, free: 12.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.402/1.402, allocations: 222.9 MB / 403.3 MB, free: 7.094 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.001064/0.001064, allocations: 113.2 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009753, allocations: 55.92 kB / 0.5619 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1241, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002337/0.1264, allocations: 1.309 MB / 0.6415 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004629/0.1269, allocations: 243.2 kB / 0.6417 GB, free: 5.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.127, allocations: 7.938 kB / 0.6417 GB, free: 5.188 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.127, allocations: 3.938 kB / 0.6417 GB, free: 5.184 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.127, allocations: 0 / 0.6417 GB, free: 5.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1273, allocations: 39.81 kB / 0.6417 GB, free: 5.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.1273, allocations: 27.92 kB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.1274, allocations: 0 / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.1274, allocations: 4 kB / 0.6418 GB, free: 5.113 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.1274, allocations: 15.92 kB / 0.6418 GB, free: 5.098 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1275, allocations: 0 / 0.6418 GB, free: 5.098 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.1276, allocations: 43.95 kB / 0.6418 GB, free: 5.055 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.1276, allocations: 3.984 kB / 0.6418 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1276, allocations: 11.94 kB / 0.6418 GB, free: 5.039 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1277, allocations: 39.95 kB / 0.6419 GB, free: 5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1277, allocations: 0 / 0.6419 GB, free: 5 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1277, allocations: 0 / 0.6419 GB, free: 5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1277, allocations: 4 kB / 0.6419 GB, free: 4.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003553/0.1281, allocations: 335.7 kB / 0.6422 GB, free: 4.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1281, allocations: 8.031 kB / 0.6422 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1283, allocations: 12.92 kB / 0.6422 GB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.1284, allocations: 160.4 kB / 0.6424 GB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1284, allocations: 4.375 kB / 0.6424 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1284, allocations: 4.375 kB / 0.6424 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1285, allocations: 54.19 kB / 0.6424 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1286, allocations: 192 / 0.6424 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1286, allocations: 3.938 kB / 0.6424 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1286, allocations: 4 kB / 0.6425 GB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.1286, allocations: 15.98 kB / 0.6425 GB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1288, allocations: 165.7 kB / 0.6426 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.1289, allocations: 42.56 kB / 0.6427 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1289, allocations: 20.97 kB / 0.6427 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1289, allocations: 7.938 kB / 0.6427 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.129, allocations: 34.56 kB / 0.6427 GB, free: 3.977 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.129, allocations: 0 / 0.6427 GB, free: 3.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.001913/0.1309, allocations: 0.4902 MB / 0.6432 GB, free: 3.434 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1309, allocations: 55.41 kB / 0.6433 GB, free: 3.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.135e-05/0.131, allocations: 89.86 kB / 0.6433 GB, free: 3.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.131, allocations: 29.7 kB / 0.6434 GB, free: 3.234 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.131, allocations: 80.14 kB / 0.6434 GB, free: 3.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1311, allocations: 31.55 kB / 0.6435 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1311, allocations: 21.72 kB / 0.6435 GB, free: 3.094 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.1312, allocations: 314.8 kB / 0.6438 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.1312, allocations: 23.92 kB / 0.6438 GB, free: 2.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.1313, allocations: 31.92 kB / 0.6439 GB, free: 2.723 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.1314, allocations: 56.86 kB / 0.6439 GB, free: 2.664 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1314, allocations: 0 / 0.6439 GB, free: 2.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001292/0.1315, allocations: 89.62 kB / 0.644 GB, free: 2.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1315, allocations: 7.938 kB / 0.644 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1316, allocations: 0 / 0.644 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1316, allocations: 0 / 0.644 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1317, allocations: 23.98 kB / 0.644 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1317, allocations: 0 / 0.644 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.1318, allocations: 4 kB / 0.644 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1318, allocations: 0 / 0.644 GB, free: 2.535 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 (9): * Single equations (assignments): 9 * 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.41e-05/0.1319, allocations: 113.8 kB / 0.6441 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.1319, allocations: 7.844 kB / 0.6441 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.132, allocations: 11.97 kB / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.132, allocations: 4 kB / 0.6442 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.132, allocations: 3.938 kB / 0.6442 GB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.132, allocations: 4 kB / 0.6442 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1321, allocations: 179.5 kB / 0.6443 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1321, allocations: 448 / 0.6443 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1323, allocations: 19.92 kB / 0.6444 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1323, allocations: 4.219 kB / 0.6444 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1323, allocations: 8 kB / 0.6444 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1323, allocations: 0 / 0.6444 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1323, allocations: 3.938 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.1351, allocations: 1.29 MB / 0.6456 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1352, allocations: 81.02 kB / 0.6457 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-06/0.1352, allocations: 0 / 0.6457 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1353, allocations: 8.016 kB / 0.6457 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.1353, allocations: 11.98 kB / 0.6457 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1353, allocations: 4 kB / 0.6457 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.1354, allocations: 75.28 kB / 0.6458 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1354, allocations: 4.094 kB / 0.6458 GB, free: 500 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.1356, allocations: 15.94 kB / 0.6458 GB, free: 484 kB / 442.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 (8): * Single equations (assignments): 8 * 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.0001297/0.1358, allocations: 108.6 kB / 0.6459 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1359, allocations: 55.92 kB / 0.646 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1359, allocations: 0 / 0.646 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.136, allocations: 39.92 kB / 0.646 GB, free: 272 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1362, allocations: 0 / 0.646 GB, free: 272 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.1368, allocations: 312.8 kB / 0.6463 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.137, allocations: 0.6809 MB / 0.647 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.437e-05/0.1371, allocations: 7.984 kB / 0.647 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1372, allocations: 11.44 kB / 0.647 GB, free: 15.19 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1372, allocations: 4 kB / 0.647 GB, free: 15.19 MB / 458.7 MB Notification: Performance of Templates: time 0.002374/0.1396, allocations: 0.6998 MB / 0.6477 GB, free: 14.52 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)