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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 103.4 kB / 16.41 MB, free: 6.504 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.001191/0.001191, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.275/1.275, 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-master/package.mo): time 0.7509/0.7509, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 62.31 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 80.93 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002062/0.1282, allocations: 1.28 MB / 0.6666 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1291, allocations: 0.6398 MB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.1291, allocations: 0 / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1292, allocations: 0 / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.1292, allocations: 15.91 kB / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1297, allocations: 99.56 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.1297, allocations: 35.84 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1298, allocations: 0 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.1298, allocations: 11.94 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.1299, allocations: 11.98 kB / 0.6674 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1299, allocations: 0 / 0.6674 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.1302, allocations: 147.8 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1302, allocations: 3.938 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.1302, allocations: 4 kB / 0.6675 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1304, allocations: 103.7 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1304, allocations: 0 / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1304, allocations: 0 / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1304, allocations: 8 kB / 0.6676 GB, free: 3.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004188/0.1309, allocations: 355.4 kB / 0.668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1309, allocations: 13.09 kB / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.1313, allocations: 28.91 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.1314, allocations: 164.4 kB / 0.6682 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1314, allocations: 4.375 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1314, allocations: 8.359 kB / 0.6682 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1316, allocations: 54.2 kB / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1316, allocations: 192 / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1316, allocations: 11.88 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1317, allocations: 0 / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1318, allocations: 31.91 kB / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.132, allocations: 169.5 kB / 0.6684 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1323, allocations: 66.58 kB / 0.6685 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.1323, allocations: 24.94 kB / 0.6685 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1324, allocations: 4 kB / 0.6685 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1324, allocations: 34.56 kB / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1324, allocations: 0 / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003043/0.1355, allocations: 0.5798 MB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1355, allocations: 51.41 kB / 0.6692 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.1356, allocations: 93.86 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1356, allocations: 25.7 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.1356, allocations: 80.14 kB / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1357, allocations: 23.7 kB / 0.6694 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1357, allocations: 25.7 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1358, allocations: 323 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.136, allocations: 39.97 kB / 0.6697 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1361, allocations: 31.97 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.1363, allocations: 88.95 kB / 0.6699 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1364, allocations: 0 / 0.6699 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003283/0.1367, allocations: 121.6 kB / 0.67 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1367, allocations: 7.938 kB / 0.67 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1367, allocations: 0 / 0.67 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1367, allocations: 0 / 0.67 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1369, allocations: 27.97 kB / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.137, allocations: 0 / 0.67 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1371, allocations: 8 kB / 0.67 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1371, allocations: 7.984 kB / 0.67 GB, free: 0.707 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 (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.032e-05/0.1372, allocations: 105.8 kB / 0.6701 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1372, allocations: 11.88 kB / 0.6701 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.1373, allocations: 15.95 kB / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1373, allocations: 0 / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1373, allocations: 8.062 kB / 0.6702 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1373, allocations: 336 / 0.6702 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1375, allocations: 191.4 kB / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1375, allocations: 3.938 kB / 0.6703 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.1377, allocations: 27.97 kB / 0.6704 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1377, allocations: 3.938 kB / 0.6704 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1377, allocations: 4 kB / 0.6704 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1377, allocations: 0 / 0.6704 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1377, allocations: 3.984 kB / 0.6704 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.1382, allocations: 192.9 kB / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.1383, allocations: 81.05 kB / 0.6706 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1383, allocations: 4.031 kB / 0.6706 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1385, allocations: 11.98 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1385, allocations: 4 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1385, allocations: 12.05 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.1386, allocations: 79.22 kB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1386, allocations: 0 / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002331/0.1388, allocations: 35.94 kB / 0.6708 GB, free: 15.83 MB / 0.5137 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 (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.0001848/0.139, allocations: 124.5 kB / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.1393, allocations: 88.02 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1393, allocations: 4 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1395, allocations: 43.91 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1397, allocations: 13.67 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.1403, allocations: 183.7 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.1405, allocations: 0.6845 MB / 0.6719 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.1406, allocations: 19.41 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1406, allocations: 4 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Templates: time 0.00289/0.1435, allocations: 1.578 MB / 0.6735 GB, free: 13.04 MB / 0.5137 GB 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)