Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.00131/0.00131, allocations: 173.9 kB / 7.648 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.8006/0.8006, allocations: 133.6 MB / 141.6 MB, free: 2.852 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.586/1.586, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.00101/0.001009, allocations: 105.4 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.27e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5657, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9267/1.493, allocations: 324 MB / 0.9503 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.493, allocations: 80.14 kB / 0.9504 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/1.515, allocations: 8.22 MB / 0.9584 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/1.515, allocations: 0 / 0.9584 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.515, allocations: 4 kB / 0.9584 GB, free: 5.016 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004769/1.515, allocations: 346.2 kB / 0.9587 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.516, allocations: 12.03 kB / 0.9588 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/1.516, allocations: 15.84 kB / 0.9588 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.516, allocations: 175 kB / 0.9589 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.516, allocations: 4 kB / 0.9589 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/1.516, allocations: 7.734 kB / 0.959 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.957e-05/1.516, allocations: 8 kB / 0.959 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.516, allocations: 55.77 kB / 0.959 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.516, allocations: 7.938 kB / 0.959 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/1.516, allocations: 0 / 0.959 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.516, allocations: 0 / 0.959 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/1.517, allocations: 450.4 kB / 0.9594 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/1.517, allocations: 67.16 kB / 0.9595 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/1.517, allocations: 22.7 kB / 0.9595 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/1.517, allocations: 0 / 0.9595 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.517, allocations: 41.56 kB / 0.9596 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/1.517, allocations: 0 / 0.9596 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0007026/1.518, allocations: 281.6 kB / 0.9598 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.518, allocations: 110.8 kB / 0.9599 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/1.518, allocations: 92.5 kB / 0.96 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.518, allocations: 25.7 kB / 0.9601 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/1.518, allocations: 84.05 kB / 0.9601 GB, free: 3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/1.518, allocations: 31.11 kB / 0.9602 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.518, allocations: 0 / 0.9602 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.519, allocations: 322.7 kB / 0.9605 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/1.519, allocations: 11.38 kB / 0.9605 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/1.519, allocations: 49.08 kB / 0.9605 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/1.519, allocations: 15.06 kB / 0.9606 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.519, allocations: 4 kB / 0.9606 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001772/1.519, allocations: 76.86 kB / 0.9606 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.519, allocations: 8 kB / 0.9606 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.519, allocations: 480 / 0.9606 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.519, allocations: 4 kB / 0.9606 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/1.519, allocations: 27.3 kB / 0.9607 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.519, allocations: 0 / 0.9607 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/1.519, allocations: 4 kB / 0.9607 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.519, allocations: 4 kB / 0.9607 GB, free: 2.449 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001202/1.519, allocations: 114.7 kB / 0.9608 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001868/1.52, allocations: 61.03 kB / 0.9608 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/1.52, allocations: 7.984 kB / 0.9608 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/1.52, allocations: 15.86 kB / 0.9609 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.52, allocations: 0 / 0.9609 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.52, allocations: 0 / 0.9609 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.52, allocations: 3.953 kB / 0.9609 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/1.52, allocations: 153.9 kB / 0.961 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.52, allocations: 4.062 kB / 0.961 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/1.52, allocations: 16.12 kB / 0.961 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.52, allocations: 0 / 0.961 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.52, allocations: 7.5 kB / 0.961 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.52, allocations: 7.938 kB / 0.961 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.52, allocations: 3.984 kB / 0.9611 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/1.521, allocations: 344 kB / 0.9614 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/1.521, allocations: 85.14 kB / 0.9615 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.521, allocations: 0 / 0.9615 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/1.521, allocations: 4 kB / 0.9615 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/1.521, allocations: 11.08 kB / 0.9615 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/1.521, allocations: 4 kB / 0.9615 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.678e-05/1.521, allocations: 83.27 kB / 0.9616 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/1.521, allocations: 4 kB / 0.9616 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003355/1.521, allocations: 12 kB / 0.9616 GB, free: 1.457 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000831/1.522, allocations: 1.028 MB / 0.9626 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00013/1.522, allocations: 34.94 kB / 0.9626 GB, free: 392 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.522, allocations: 0 / 0.9626 GB, free: 392 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/1.522, allocations: 19.31 kB / 0.9626 GB, free: 376 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.523, allocations: 6.625 kB / 0.9626 GB, free: 372 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/1.523, allocations: 315.8 kB / 0.9629 GB, free: 24 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.524, allocations: 0.6893 MB / 0.9636 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.165e-05/1.524, allocations: 8 kB / 0.9636 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/1.524, allocations: 18.67 kB / 0.9636 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.645e-06/1.524, allocations: 0 / 0.9636 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/1.548, allocations: 1.088 MB / 0.9647 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.549, allocations: 167.6 kB / 0.9649 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/3.175, allocations: 4 kB / 0.9649 GB, free: 14.02 MB / 0.6042 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)