Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001213/0.001213, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7002/0.7002, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.16 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1255, allocations: 80.21 MB / 0.5797 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002007/0.1275, allocations: 1.333 MB / 0.581 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.1284, allocations: 0.6451 MB / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1284, allocations: 0 / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.1284, allocations: 4 kB / 0.5816 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.1285, allocations: 3.938 kB / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.1288, allocations: 91.69 kB / 0.5817 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.1289, allocations: 27.86 kB / 0.5818 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1289, allocations: 4 kB / 0.5818 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.129, allocations: 19.86 kB / 0.5818 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.129, allocations: 7.984 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.129, allocations: 4 kB / 0.5818 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1293, allocations: 143.7 kB / 0.5819 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1293, allocations: 11.98 kB / 0.5819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1293, allocations: 15.92 kB / 0.582 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1295, allocations: 96.05 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1295, allocations: 0 / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1295, allocations: 0 / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1295, allocations: 0 / 0.582 GB, free: 6.59 MB / 494.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.0003783/0.1299, allocations: 355.4 kB / 0.5824 GB, free: 6.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1299, allocations: 12.03 kB / 0.5824 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.1299, allocations: 34.75 kB / 0.5824 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.1303, allocations: 28.89 kB / 0.5825 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.1304, allocations: 168.3 kB / 0.5826 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1304, allocations: 4.375 kB / 0.5826 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1305, allocations: 4.359 kB / 0.5826 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1306, allocations: 54.22 kB / 0.5827 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1306, allocations: 11.94 kB / 0.5827 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1307, allocations: 0 / 0.5827 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.1307, allocations: 0 / 0.5827 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1308, allocations: 31.97 kB / 0.5827 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.131, allocations: 169.7 kB / 0.5829 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1313, allocations: 74.47 kB / 0.583 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.1313, allocations: 24.94 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1314, allocations: 0 / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1314, allocations: 30.56 kB / 0.583 GB, free: 5.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1314, allocations: 0 / 0.583 GB, free: 5.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003465/0.1349, allocations: 0.5721 MB / 0.5836 GB, free: 4.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1349, allocations: 59.34 kB / 0.5836 GB, free: 4.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.135, allocations: 105.8 kB / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.135, allocations: 25.7 kB / 0.5837 GB, free: 4.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.135, allocations: 80.14 kB / 0.5838 GB, free: 4.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1351, allocations: 23.66 kB / 0.5838 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.1351, allocations: 25.69 kB / 0.5839 GB, free: 4.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.1352, allocations: 318.8 kB / 0.5842 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1354, allocations: 31.97 kB / 0.5842 GB, free: 4.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1355, allocations: 44.08 kB / 0.5842 GB, free: 4.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.1358, allocations: 76.81 kB / 0.5843 GB, free: 3.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1358, allocations: 0 / 0.5843 GB, free: 3.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003256/0.1361, allocations: 129.5 kB / 0.5844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1361, allocations: 8 kB / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1361, allocations: 0 / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1362, allocations: 3.984 kB / 0.5845 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1364, allocations: 27.91 kB / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1364, allocations: 0 / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1365, allocations: 8 kB / 0.5845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1366, allocations: 8.219 kB / 0.5845 GB, free: 3.797 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.052e-05/0.1367, allocations: 110.5 kB / 0.5846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1367, allocations: 3.938 kB / 0.5846 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.1368, allocations: 19.95 kB / 0.5846 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1368, allocations: 0 / 0.5846 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1368, allocations: 0 / 0.5846 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1368, allocations: 336 / 0.5846 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1369, allocations: 187.5 kB / 0.5848 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1369, allocations: 0 / 0.5848 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1371, allocations: 27.91 kB / 0.5848 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1372, allocations: 0 / 0.5848 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1372, allocations: 7.969 kB / 0.5848 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1372, allocations: 0 / 0.5848 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1372, allocations: 4.062 kB / 0.5848 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.1377, allocations: 197 kB / 0.585 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1377, allocations: 89.02 kB / 0.5851 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1378, allocations: 3.938 kB / 0.5851 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1379, allocations: 16.02 kB / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.138, allocations: 4 kB / 0.5851 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.138, allocations: 3.984 kB / 0.5851 GB, free: 3.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.138, allocations: 79.28 kB / 0.5852 GB, free: 2.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 0.5852 GB, free: 2.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1382, allocations: 35.97 kB / 0.5853 GB, free: 2.93 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.0007779/0.139, allocations: 0.7596 MB / 0.586 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1394, allocations: 83.92 kB / 0.5861 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1394, allocations: 0 / 0.5861 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1395, allocations: 55.95 kB / 0.5861 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1398, allocations: 4 kB / 0.5861 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1415, allocations: 1.352 MB / 0.5875 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1417, allocations: 0.6768 MB / 0.5881 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.1419, allocations: 32.25 kB / 0.5881 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.142, allocations: 19.42 kB / 0.5882 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.142, allocations: 4 kB / 0.5882 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7219/0.8639, allocations: 2.37 MB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.8642, allocations: 250.5 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/3.091, allocations: 1.406 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)