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.001348/0.001348, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7763/0.7763, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008389/0.0008389, allocations: 102.3 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.033e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4817, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.6397, allocations: 111.9 MB / 0.7432 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.64, allocations: 87.94 kB / 0.7433 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008668/0.6487, allocations: 2.87 MB / 0.7461 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6488, allocations: 0 / 0.7461 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6488, allocations: 0 / 0.7461 GB, free: 7.883 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003746/0.6491, allocations: 354.4 kB / 0.7464 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6492, allocations: 8.031 kB / 0.7464 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.6496, allocations: 31.86 kB / 0.7464 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.6497, allocations: 171 kB / 0.7466 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6497, allocations: 0 / 0.7466 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.6497, allocations: 0 / 0.7466 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.446e-05/0.6499, allocations: 27.92 kB / 0.7466 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.65, allocations: 45.67 kB / 0.7467 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.65, allocations: 3.938 kB / 0.7467 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6501, allocations: 0 / 0.7467 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.6501, allocations: 0 / 0.7467 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.6503, allocations: 150.2 kB / 0.7468 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.6505, allocations: 46.56 kB / 0.7469 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.6505, allocations: 24.86 kB / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.6505, allocations: 3.984 kB / 0.7469 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.6506, allocations: 34.56 kB / 0.7469 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6506, allocations: 0 / 0.7469 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.00153/0.6521, allocations: 422.2 kB / 0.7473 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.6521, allocations: 55.34 kB / 0.7474 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.6522, allocations: 89 kB / 0.7475 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6522, allocations: 25.7 kB / 0.7475 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.6523, allocations: 80.14 kB / 0.7476 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.6523, allocations: 27.64 kB / 0.7476 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.6523, allocations: 0 / 0.7476 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6524, allocations: 315 kB / 0.7479 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.6525, allocations: 31.98 kB / 0.7479 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.6525, allocations: 23.94 kB / 0.748 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.6526, allocations: 35.97 kB / 0.748 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6526, allocations: 3.953 kB / 0.748 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001721/0.6528, allocations: 101.6 kB / 0.7481 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6528, allocations: 6.031 kB / 0.7481 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6528, allocations: 0 / 0.7481 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6528, allocations: 0 / 0.7481 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.6531, allocations: 23.97 kB / 0.7481 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.6531, allocations: 4 kB / 0.7481 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.6532, allocations: 7.984 kB / 0.7481 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.6532, allocations: 4 kB / 0.7481 GB, free: 5.527 MB / 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 () * 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.092e-05/0.6533, allocations: 105 kB / 0.7482 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001699/0.6535, allocations: 105.4 kB / 0.7483 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.6535, allocations: 0 / 0.7483 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.6536, allocations: 20.39 kB / 0.7483 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6536, allocations: 3.938 kB / 0.7484 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6536, allocations: 0 / 0.7484 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6536, allocations: 0 / 0.7484 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.6538, allocations: 173.5 kB / 0.7485 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6538, allocations: 0 / 0.7485 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.654, allocations: 23.97 kB / 0.7485 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.654, allocations: 4 kB / 0.7485 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6541, allocations: 3.984 kB / 0.7485 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6541, allocations: 0 / 0.7485 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6541, allocations: 0 / 0.7485 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.6544, allocations: 165 kB / 0.7487 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.6544, allocations: 85.05 kB / 0.7488 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.6544, allocations: 0 / 0.7488 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.6546, allocations: 16.05 kB / 0.7488 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.6546, allocations: 7.938 kB / 0.7488 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.6547, allocations: 7.984 kB / 0.7488 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.6547, allocations: 75.28 kB / 0.7489 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6547, allocations: 0 / 0.7489 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002686/0.655, allocations: 28 kB / 0.7489 GB, free: 4.633 MB / 0.5261 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.000612/0.6556, allocations: 0.7374 MB / 0.7496 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.6558, allocations: 68.2 kB / 0.7497 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6558, allocations: 0 / 0.7497 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.6558, allocations: 39.97 kB / 0.7497 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.656, allocations: 8.688 kB / 0.7497 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.6566, allocations: 155.5 kB / 0.7499 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.6569, allocations: 0.6845 MB / 0.7506 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.6571, allocations: 31.92 kB / 0.7506 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.6572, allocations: 19.42 kB / 0.7506 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6572, allocations: 0 / 0.7506 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.6803, allocations: 1.929 MB / 0.7525 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.6806, allocations: 193.7 kB / 0.7527 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.177, allocations: 2.641 kB / 0.7527 GB, free: 0.707 MB / 0.5261 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)