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.001149/0.001149, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7359/0.7359, allocations: 133.4 MB / 146.7 MB, free: 10.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.508/1.508, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 100.5 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.297e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6235/0.7827, allocations: 112.5 MB / 0.7504 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.783, allocations: 84.69 kB / 0.7505 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008115/0.7911, allocations: 2.887 MB / 0.7533 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7912, allocations: 4 kB / 0.7533 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7912, allocations: 0 / 0.7533 GB, free: 27.43 MB / 0.5105 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.0003276/0.7915, allocations: 355.8 kB / 0.7537 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7916, allocations: 7.844 kB / 0.7537 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.7916, allocations: 30.56 kB / 0.7537 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.792, allocations: 37.61 kB / 0.7537 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7921, allocations: 171 kB / 0.7539 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7921, allocations: 3.938 kB / 0.7539 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.7921, allocations: 3.938 kB / 0.7539 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.7923, allocations: 50.7 kB / 0.7539 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.7923, allocations: 0 / 0.7539 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7923, allocations: 0 / 0.7539 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7923, allocations: 3.906 kB / 0.7539 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.7924, allocations: 13.73 kB / 0.754 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.7925, allocations: 169.8 kB / 0.7541 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.7927, allocations: 58.73 kB / 0.7542 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.7928, allocations: 25.98 kB / 0.7542 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7928, allocations: 0 / 0.7542 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7928, allocations: 30.56 kB / 0.7542 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.7928, allocations: 0 / 0.7542 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.002825/0.7957, allocations: 0.5196 MB / 0.7547 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7957, allocations: 51.41 kB / 0.7548 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.7958, allocations: 91.59 kB / 0.7549 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7958, allocations: 25.7 kB / 0.7549 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.7959, allocations: 87.33 kB / 0.755 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.7959, allocations: 19.53 kB / 0.755 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.7959, allocations: 4.125 kB / 0.755 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.796, allocations: 321.3 kB / 0.7553 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.7961, allocations: 31.7 kB / 0.7553 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.7962, allocations: 28.88 kB / 0.7554 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.7962, allocations: 24.86 kB / 0.7554 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7962, allocations: 3.75 kB / 0.7554 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001872/0.7964, allocations: 108.2 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7965, allocations: 3.844 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7965, allocations: 3.812 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7965, allocations: 0 / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.7967, allocations: 30.44 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7967, allocations: 4 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.7969, allocations: 7.594 kB / 0.7555 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.7969, allocations: 5.156 kB / 0.7556 GB, free: 25.59 MB / 0.5105 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 () * 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 8.61e-05/0.797, allocations: 112.7 kB / 0.7557 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.797, allocations: 3.906 kB / 0.7557 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.7971, allocations: 19.34 kB / 0.7557 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.7971, allocations: 0 / 0.7557 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7971, allocations: 0 / 0.7557 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7971, allocations: 0 / 0.7557 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.7972, allocations: 192.8 kB / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7972, allocations: 0 / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.7975, allocations: 31.75 kB / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7975, allocations: 0 / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.7975, allocations: 2.766 kB / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7975, allocations: 6.562 kB / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7975, allocations: 0 / 0.7559 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.7978, allocations: 166.2 kB / 0.7561 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.7978, allocations: 77.11 kB / 0.7561 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.7979, allocations: 10.48 kB / 0.7561 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7981, allocations: 6.422 kB / 0.7562 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.7981, allocations: 3.812 kB / 0.7562 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.7981, allocations: 9.828 kB / 0.7562 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.7982, allocations: 77.62 kB / 0.7562 GB, free: 25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7982, allocations: 0 / 0.7562 GB, free: 25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002511/0.7984, allocations: 30.84 kB / 0.7563 GB, free: 25 MB / 0.5105 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 () * 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.0006821/0.7991, allocations: 0.7497 MB / 0.757 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.7993, allocations: 69.81 kB / 0.7571 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7993, allocations: 0 / 0.7571 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.7994, allocations: 47.86 kB / 0.7571 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.7995, allocations: 6.641 kB / 0.7571 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.8001, allocations: 162.2 kB / 0.7573 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.8004, allocations: 0.6829 MB / 0.7579 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.8007, allocations: 31.81 kB / 0.758 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.8007, allocations: 20.88 kB / 0.758 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8007, allocations: 0 / 0.758 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.8131, allocations: 2.255 MB / 0.7602 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.8133, allocations: 197.9 kB / 0.7604 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.452, allocations: 0 / 0.7604 GB, free: 22.79 MB / 0.5105 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)