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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.2 kB / 16.41 MB, free: 6.477 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.001107/0.001107, allocations: 193.4 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7818/0.7818, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 69.02 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002168/0.1309, allocations: 1.25 MB / 0.6616 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00049/0.1314, allocations: 243.4 kB / 0.6618 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.1315, allocations: 0 / 0.6618 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1315, allocations: 4 kB / 0.6618 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.1315, allocations: 3.938 kB / 0.6618 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1318, allocations: 43.81 kB / 0.6618 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.1319, allocations: 27.91 kB / 0.6619 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1319, allocations: 0 / 0.6619 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.132, allocations: 7.938 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.132, allocations: 11.98 kB / 0.6619 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.132, allocations: 0 / 0.6619 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1322, allocations: 47.95 kB / 0.6619 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1322, allocations: 7.984 kB / 0.6619 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1322, allocations: 11.94 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1323, allocations: 35.91 kB / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1323, allocations: 0 / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1323, allocations: 0 / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1323, allocations: 0 / 0.662 GB, free: 8.617 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003607/0.1327, allocations: 331.6 kB / 0.6623 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1328, allocations: 12.03 kB / 0.6623 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1329, allocations: 12.92 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.133, allocations: 168.3 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.133, allocations: 384 / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.133, allocations: 4.375 kB / 0.6625 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1332, allocations: 46.25 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1332, allocations: 192 / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1332, allocations: 7.875 kB / 0.6626 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1332, allocations: 0 / 0.6626 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.1333, allocations: 15.98 kB / 0.6626 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1334, allocations: 165.7 kB / 0.6627 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.1335, allocations: 38.58 kB / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.1336, allocations: 20.97 kB / 0.6628 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1336, allocations: 4 kB / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1336, allocations: 30.56 kB / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1336, allocations: 0 / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002071/0.1357, allocations: 0.5096 MB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1357, allocations: 51.41 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.07e-05/0.1358, allocations: 93.86 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1358, allocations: 29.7 kB / 0.6635 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1358, allocations: 80.14 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1359, allocations: 23.66 kB / 0.6636 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1359, allocations: 25.7 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.136, allocations: 314.8 kB / 0.6639 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.1361, allocations: 23.98 kB / 0.6639 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.1361, allocations: 24 kB / 0.6639 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.1362, allocations: 64.78 kB / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1362, allocations: 0 / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001409/0.1364, allocations: 89.59 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1364, allocations: 7.938 kB / 0.6641 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1364, allocations: 3.938 kB / 0.6641 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1364, allocations: 4 kB / 0.6641 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1366, allocations: 16 kB / 0.6641 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1366, allocations: 448 / 0.6641 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.1367, allocations: 3.984 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1367, allocations: 4 kB / 0.6641 GB, free: 6.152 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 (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 8.002e-05/0.1368, allocations: 114.7 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1368, allocations: 11.88 kB / 0.6643 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1369, allocations: 15.97 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1369, allocations: 0 / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1369, allocations: 0 / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1369, allocations: 0 / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.137, allocations: 175.5 kB / 0.6644 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.137, allocations: 4 kB / 0.6644 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1372, allocations: 20.2 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1372, allocations: 3.938 kB / 0.6645 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1372, allocations: 4 kB / 0.6645 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1372, allocations: 3.938 kB / 0.6645 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1372, allocations: 0 / 0.6645 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1374, allocations: 137.1 kB / 0.6646 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1375, allocations: 88.98 kB / 0.6647 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1375, allocations: 0 / 0.6647 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1376, allocations: 8 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.1377, allocations: 12.05 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1377, allocations: 0 / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.1377, allocations: 75.28 kB / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 0 / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001937/0.1379, allocations: 16 kB / 0.6648 GB, free: 5.367 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 (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.0001045/0.138, allocations: 103.2 kB / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1382, allocations: 63.95 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1382, allocations: 0 / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.1383, allocations: 39.92 kB / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1385, allocations: 8 kB / 0.665 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.139, allocations: 204.4 kB / 0.6652 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1393, allocations: 0.6807 MB / 0.6659 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.1393, allocations: 11.44 kB / 0.6659 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1393, allocations: 0 / 0.6659 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of Templates: time 0.002182/0.1415, allocations: 0.8976 MB / 0.6667 GB, free: 3.309 MB / 0.4981 GB 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)