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/Complex 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) 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-master/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.007877/0.007877, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8838/0.8838, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.573/1.573, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 106.3 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 20 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4396, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5962, allocations: 112.6 MB / 0.7595 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5965, allocations: 99.92 kB / 0.7596 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009145/0.6057, allocations: 2.877 MB / 0.7624 GB, free: 408 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6057, allocations: 3.938 kB / 0.7624 GB, free: 404 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.6058, allocations: 0 / 0.7624 GB, free: 404 kB / 0.5261 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.0005462/0.6063, allocations: 367.1 kB / 0.7627 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.6064, allocations: 8.031 kB / 0.7628 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.6064, allocations: 30.56 kB / 0.7628 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.6069, allocations: 27.91 kB / 0.7628 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6071, allocations: 171 kB / 0.763 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.6071, allocations: 4 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.6071, allocations: 7.984 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.6073, allocations: 53.66 kB / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.6073, allocations: 0 / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6074, allocations: 0 / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6074, allocations: 0 / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.6075, allocations: 35.91 kB / 0.7631 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.6078, allocations: 165.6 kB / 0.7632 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.6082, allocations: 66.58 kB / 0.7633 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.6082, allocations: 4.078 kB / 0.7633 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.6082, allocations: 34.56 kB / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6082, allocations: 0 / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.003971/0.6122, allocations: 0.5838 MB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6123, allocations: 59.41 kB / 0.764 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.6124, allocations: 88.94 kB / 0.764 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.6124, allocations: 33.7 kB / 0.7641 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.6125, allocations: 84.12 kB / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.6125, allocations: 19.66 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.6125, allocations: 0 / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6126, allocations: 318.8 kB / 0.7645 GB, free: 14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6128, allocations: 44.08 kB / 0.7645 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.6129, allocations: 35.97 kB / 0.7646 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6131, allocations: 35.98 kB / 0.7646 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6131, allocations: 0 / 0.7646 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000345/0.6134, allocations: 129.6 kB / 0.7647 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6134, allocations: 4 kB / 0.7647 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6135, allocations: 0 / 0.7647 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6135, allocations: 0 / 0.7647 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.6137, allocations: 31.84 kB / 0.7647 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6137, allocations: 240 / 0.7647 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6139, allocations: 7.984 kB / 0.7648 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.6139, allocations: 8 kB / 0.7648 GB, free: 13.71 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.614, allocations: 120 kB / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.6141, allocations: 7.906 kB / 0.7649 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.6142, allocations: 11.97 kB / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6142, allocations: 0 / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6142, allocations: 4 kB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6142, allocations: 0 / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.6144, allocations: 196.3 kB / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6144, allocations: 0 / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.6146, allocations: 19.97 kB / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6146, allocations: 0 / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.6147, allocations: 7.984 kB / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6147, allocations: 0 / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6147, allocations: 7.984 kB / 0.7651 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.6153, allocations: 193.2 kB / 0.7653 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.6153, allocations: 89.11 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.6154, allocations: 3.984 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.6156, allocations: 15.94 kB / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.6156, allocations: 7.969 kB / 0.7654 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.6156, allocations: 4 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.6157, allocations: 79.27 kB / 0.7655 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6157, allocations: 0 / 0.7655 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002985/0.616, allocations: 36.09 kB / 0.7655 GB, free: 12.82 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009912/0.617, allocations: 0.7686 MB / 0.7663 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.6173, allocations: 87.91 kB / 0.7664 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6173, allocations: 4 kB / 0.7664 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.6175, allocations: 55.95 kB / 0.7664 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.6177, allocations: 0 / 0.7664 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.6191, allocations: 0.529 MB / 0.7669 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.6194, allocations: 0.6809 MB / 0.7676 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002421/0.6197, allocations: 32.09 kB / 0.7676 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.6198, allocations: 24.81 kB / 0.7677 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6198, allocations: 3.938 kB / 0.7677 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.6333, allocations: 2.24 MB / 0.7698 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.6335, allocations: 221.5 kB / 0.7701 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.194, allocations: 0 / 0.7701 GB, free: 8.277 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)