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.008834/0.008834, allocations: 172.9 kB / 15.12 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.8057/0.8057, allocations: 135.2 MB / 151 MB, free: 13.81 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.796/1.796, allocations: 223.1 MB / 406.8 MB, free: 3.242 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.0009631/0.0009628, allocations: 98.09 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5371, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9277/1.465, allocations: 324.7 MB / 0.9666 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.465, allocations: 80.19 kB / 0.9667 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02049/1.486, allocations: 8.313 MB / 0.9748 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/1.486, allocations: 0 / 0.9748 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.486, allocations: 4 kB / 0.9748 GB, free: 11.56 MB / 0.6198 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.0004645/1.486, allocations: 358.9 kB / 0.9752 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.486, allocations: 12.03 kB / 0.9752 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/1.486, allocations: 34.44 kB / 0.9752 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/1.487, allocations: 15.91 kB / 0.9752 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.487, allocations: 171 kB / 0.9754 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/1.487, allocations: 0 / 0.9754 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/1.487, allocations: 7.875 kB / 0.9754 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/1.487, allocations: 71.81 kB / 0.9755 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.487, allocations: 0 / 0.9755 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.487, allocations: 8 kB / 0.9755 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.487, allocations: 0 / 0.9755 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/1.487, allocations: 7.938 kB / 0.9755 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/1.488, allocations: 470.4 kB / 0.9759 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.488, allocations: 75.45 kB / 0.976 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/1.488, allocations: 0 / 0.976 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/1.488, allocations: 42.56 kB / 0.976 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/1.488, allocations: 0 / 0.976 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006772/1.489, allocations: 304.8 kB / 0.9763 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/1.489, allocations: 106.8 kB / 0.9764 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/1.489, allocations: 96.73 kB / 0.9765 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.489, allocations: 29.7 kB / 0.9765 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/1.489, allocations: 84.05 kB / 0.9766 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/1.489, allocations: 31.73 kB / 0.9767 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.489, allocations: 7.938 kB / 0.9767 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.489, allocations: 310.8 kB / 0.977 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/1.489, allocations: 11.94 kB / 0.977 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/1.489, allocations: 52.83 kB / 0.977 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/1.489, allocations: 27.67 kB / 0.977 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.489, allocations: 0 / 0.977 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001369/1.489, allocations: 88.06 kB / 0.9771 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.489, allocations: 11.92 kB / 0.9771 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.489, allocations: 4 kB / 0.9771 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.489, allocations: 0 / 0.9771 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/1.49, allocations: 16 kB / 0.9772 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.49, allocations: 4 kB / 0.9772 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/1.49, allocations: 11.58 kB / 0.9772 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.49, allocations: 4 kB / 0.9772 GB, free: 8.898 MB / 0.6198 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 () * Number of clocked 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.0001293/1.49, allocations: 121.5 kB / 0.9773 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/1.49, allocations: 7.906 kB / 0.9773 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/1.49, allocations: 7.188 kB / 0.9773 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.49, allocations: 4 kB / 0.9773 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.49, allocations: 0 / 0.9773 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.49, allocations: 3.938 kB / 0.9773 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/1.49, allocations: 180.7 kB / 0.9775 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.49, allocations: 8.609 kB / 0.9775 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/1.49, allocations: 15.98 kB / 0.9775 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.49, allocations: 0 / 0.9775 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/1.49, allocations: 8.062 kB / 0.9775 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.49, allocations: 0 / 0.9775 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.49, allocations: 3.938 kB / 0.9775 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/1.491, allocations: 355.5 kB / 0.9779 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/1.491, allocations: 81.2 kB / 0.9779 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/1.491, allocations: 0 / 0.9779 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.491, allocations: 12.02 kB / 0.978 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/1.491, allocations: 7.766 kB / 0.978 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/1.491, allocations: 4 kB / 0.978 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.429e-05/1.491, allocations: 83.27 kB / 0.978 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/1.491, allocations: 4 kB / 0.9781 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003076/1.491, allocations: 15.31 kB / 0.9781 GB, free: 7.93 MB / 0.6198 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 () * Number of clocked 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.0006182/1.492, allocations: 1.033 MB / 0.9791 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001205/1.492, allocations: 42.98 kB / 0.9791 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.492, allocations: 4 kB / 0.9791 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/1.492, allocations: 11.56 kB / 0.9791 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/1.492, allocations: 11.7 kB / 0.9791 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/1.494, allocations: 1.44 MB / 0.9805 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.494, allocations: 0.6809 MB / 0.9812 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.977e-05/1.494, allocations: 11.98 kB / 0.9812 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/1.494, allocations: 15.31 kB / 0.9812 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/1.494, allocations: 0 / 0.9812 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/1.507, allocations: 1.45 MB / 0.9827 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.508, allocations: 210.1 kB / 0.9829 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/3.248, allocations: 0 / 0.9829 GB, free: 3.105 MB / 0.6198 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)