Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.006738/0.006738, allocations: 169.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8777/0.8777, allocations: 135.2 MB / 151 MB, free: 13.79 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.709/1.709, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001315/0.001315, allocations: 101.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.419, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.571, allocations: 111.6 MB / 0.7585 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.5712, allocations: 83.95 kB / 0.7586 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005268/0.5765, allocations: 1.875 MB / 0.7604 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5765, allocations: 0 / 0.7604 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.5766, allocations: 0 / 0.7604 GB, free: 2.438 MB / 0.5261 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.0003668/0.5769, allocations: 343.3 kB / 0.7608 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.577, allocations: 8.031 kB / 0.7608 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.577, allocations: 38.5 kB / 0.7608 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.5772, allocations: 15.89 kB / 0.7608 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.5773, allocations: 163 kB / 0.761 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.5774, allocations: 4 kB / 0.761 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.5774, allocations: 4 kB / 0.761 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5775, allocations: 45.62 kB / 0.761 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5776, allocations: 0 / 0.761 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5776, allocations: 0 / 0.761 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5776, allocations: 4 kB / 0.761 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.5776, allocations: 15.98 kB / 0.761 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.5779, allocations: 165.7 kB / 0.7612 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.578, allocations: 46.55 kB / 0.7612 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.578, allocations: 0 / 0.7612 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.578, allocations: 34.5 kB / 0.7613 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.578, allocations: 0 / 0.7613 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.002174/0.5802, allocations: 0.4908 MB / 0.7618 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5803, allocations: 51.41 kB / 0.7618 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.857e-05/0.5803, allocations: 85 kB / 0.7619 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5803, allocations: 33.69 kB / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.5804, allocations: 84.14 kB / 0.762 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.5804, allocations: 23.62 kB / 0.762 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.5805, allocations: 4 kB / 0.762 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5806, allocations: 318.8 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.5806, allocations: 20 kB / 0.7623 GB, free: 216 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.5807, allocations: 23.98 kB / 0.7624 GB, free: 192 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.5808, allocations: 27.94 kB / 0.7624 GB, free: 164 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5808, allocations: 0 / 0.7624 GB, free: 164 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001639/0.5809, allocations: 89.81 kB / 0.7625 GB, free: 68 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.581, allocations: 13.09 kB / 0.7625 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.581, allocations: 4 kB / 0.7625 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.581, allocations: 4 kB / 0.7625 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.5812, allocations: 15.98 kB / 0.7625 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5812, allocations: 0 / 0.7625 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.5813, allocations: 3.938 kB / 0.7625 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5813, allocations: 8 kB / 0.7625 GB, free: 20 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.5814, allocations: 112 kB / 0.7626 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.5815, allocations: 4 kB / 0.7626 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.5815, allocations: 19.97 kB / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5815, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5815, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5815, allocations: 0 / 0.7627 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.5817, allocations: 179.5 kB / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5817, allocations: 0 / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.5819, allocations: 23.92 kB / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5819, allocations: 0 / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5819, allocations: 0 / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.5819, allocations: 0 / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5819, allocations: 0 / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.5822, allocations: 149 kB / 0.763 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.5823, allocations: 81.06 kB / 0.7631 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.5823, allocations: 0 / 0.7631 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5824, allocations: 7.984 kB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.5824, allocations: 8 kB / 0.7631 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.5825, allocations: 0 / 0.7631 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.5825, allocations: 75.28 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5825, allocations: 4.062 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002068/0.5827, allocations: 15.94 kB / 0.7632 GB, free: 15.26 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 (8): * Single equations (assignments): 8 * 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.0006252/0.5833, allocations: 0.6984 MB / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.5835, allocations: 55.92 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5835, allocations: 4.344 kB / 0.7639 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.5836, allocations: 31.98 kB / 0.7639 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.5838, allocations: 7.938 kB / 0.764 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.5847, allocations: 478.4 kB / 0.7644 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.5849, allocations: 0.6809 MB / 0.7651 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.5851, allocations: 12.19 kB / 0.7651 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.5851, allocations: 11.44 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5851, allocations: 0 / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.5972, allocations: 1.385 MB / 0.7665 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5974, allocations: 227.1 kB / 0.7667 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.133, allocations: 4 kB / 0.7667 GB, free: 11.77 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)