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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005311/0.005311, allocations: 171.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7572/0.7572, allocations: 135.2 MB / 151 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.609/1.609, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009026/0.0009027, allocations: 97.66 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003576, allocations: 15.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4205, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5809, allocations: 112.6 MB / 0.7595 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5812, allocations: 87.92 kB / 0.7596 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009195/0.5905, allocations: 2.889 MB / 0.7624 GB, free: 440 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5905, allocations: 3.938 kB / 0.7624 GB, free: 436 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5905, allocations: 0 / 0.7624 GB, free: 436 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.0004501/0.591, allocations: 363.2 kB / 0.7628 GB, free: 24 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.591, allocations: 12.03 kB / 0.7628 GB, free: 12 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/0.5911, allocations: 38.5 kB / 0.7628 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.5915, allocations: 23.97 kB / 0.7628 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5917, allocations: 167 kB / 0.763 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5917, allocations: 3.984 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.5917, allocations: 4 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.5919, allocations: 57.66 kB / 0.763 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5919, allocations: 0 / 0.763 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5919, allocations: 4 kB / 0.763 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5919, allocations: 0 / 0.763 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5921, allocations: 27.97 kB / 0.7631 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5923, allocations: 165.6 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.5926, allocations: 74.47 kB / 0.7633 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5927, allocations: 4 kB / 0.7633 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5927, allocations: 30.56 kB / 0.7633 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.5927, allocations: 0 / 0.7633 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.003968/0.5967, allocations: 0.5722 MB / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.5968, allocations: 59.41 kB / 0.764 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.5968, allocations: 96.86 kB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.5969, allocations: 25.7 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.5969, allocations: 84.14 kB / 0.7641 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.597, allocations: 23.78 kB / 0.7642 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.597, allocations: 0 / 0.7642 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5972, allocations: 322.8 kB / 0.7645 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.5973, allocations: 35.95 kB / 0.7645 GB, free: 14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.5974, allocations: 39.91 kB / 0.7646 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5976, allocations: 48.12 kB / 0.7646 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5976, allocations: 0 / 0.7646 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003365/0.5979, allocations: 121.6 kB / 0.7647 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.598, allocations: 4 kB / 0.7647 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.598, allocations: 0 / 0.7647 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.598, allocations: 4 kB / 0.7647 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.5982, allocations: 31.91 kB / 0.7648 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5983, allocations: 0 / 0.7648 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5984, allocations: 7.984 kB / 0.7648 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5984, allocations: 7.984 kB / 0.7648 GB, free: 13.74 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 0.0001018/0.5986, allocations: 113.8 kB / 0.7649 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.5986, allocations: 7.906 kB / 0.7649 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.5987, allocations: 15.91 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5987, allocations: 0 / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5987, allocations: 0 / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.5987, allocations: 4 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.5989, allocations: 188.3 kB / 0.7651 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5989, allocations: 0 / 0.7651 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.5991, allocations: 32.03 kB / 0.7651 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5992, allocations: 336 / 0.7651 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5992, allocations: 11.98 kB / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5992, allocations: 0 / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5992, allocations: 0 / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.5998, allocations: 196.9 kB / 0.7653 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.5999, allocations: 93.02 kB / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.5999, allocations: 0 / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.6002, allocations: 11.94 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.6002, allocations: 8.047 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.6002, allocations: 7.984 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.6003, allocations: 79.28 kB / 0.7655 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6003, allocations: 0 / 0.7655 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003085/0.6006, allocations: 32 kB / 0.7655 GB, free: 12.85 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.0009913/0.6016, allocations: 0.7686 MB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.6019, allocations: 87.98 kB / 0.7664 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6019, allocations: 3.938 kB / 0.7664 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.6021, allocations: 51.89 kB / 0.7664 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.6023, allocations: 4 kB / 0.7664 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.6037, allocations: 0.5162 MB / 0.7669 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.604, allocations: 0.6809 MB / 0.7676 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.6042, allocations: 28.09 kB / 0.7676 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.6043, allocations: 31.34 kB / 0.7677 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/0.6043, allocations: 3.938 kB / 0.7677 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.6173, allocations: 2.246 MB / 0.7698 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.6176, allocations: 221 kB / 0.7701 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.201, allocations: 0 / 0.7701 GB, free: 8.309 MB / 0.5417 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/linux/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)