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.00164/0.00164, allocations: 174.5 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.825/0.825, 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.786/1.786, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.001158/0.001158, allocations: 91.89 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.645e-05/4.649e-05, allocations: 2.188 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.975/1.214, allocations: 324.6 MB / 0.9575 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000436/1.214, allocations: 80.39 kB / 0.9576 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02365/1.238, allocations: 8.271 MB / 0.9657 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/1.238, allocations: 0 / 0.9657 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.238, allocations: 0 / 0.9657 GB, free: 6.434 MB / 0.6823 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.0004792/1.238, allocations: 351.1 kB / 0.966 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/1.238, allocations: 8.031 kB / 0.966 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/1.238, allocations: 34.56 kB / 0.9661 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/1.239, allocations: 23.31 kB / 0.9661 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/1.239, allocations: 163 kB / 0.9662 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.239, allocations: 0 / 0.9662 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/1.239, allocations: 11.38 kB / 0.9662 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/1.239, allocations: 75.14 kB / 0.9663 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.239, allocations: 0 / 0.9663 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.239, allocations: 0 / 0.9663 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.239, allocations: 0 / 0.9663 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/1.239, allocations: 15.92 kB / 0.9663 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/1.24, allocations: 470 kB / 0.9668 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/1.24, allocations: 74.36 kB / 0.9669 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/1.24, allocations: 22.7 kB / 0.9669 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/1.24, allocations: 0 / 0.9669 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.24, allocations: 46.33 kB / 0.9669 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/1.24, allocations: 3.938 kB / 0.9669 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008109/1.241, allocations: 295.2 kB / 0.9672 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.241, allocations: 106.8 kB / 0.9673 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/1.241, allocations: 100.4 kB / 0.9674 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/1.242, allocations: 25.7 kB / 0.9674 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/1.242, allocations: 91.17 kB / 0.9675 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/1.242, allocations: 27.42 kB / 0.9675 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.242, allocations: 0 / 0.9675 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.242, allocations: 318 kB / 0.9678 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/1.242, allocations: 11.5 kB / 0.9679 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/1.242, allocations: 51.84 kB / 0.9679 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/1.242, allocations: 23.73 kB / 0.9679 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.242, allocations: 0 / 0.9679 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000172/1.242, allocations: 87.98 kB / 0.968 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.242, allocations: 12.12 kB / 0.968 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.242, allocations: 3.938 kB / 0.968 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.242, allocations: 4 kB / 0.968 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/1.242, allocations: 19.98 kB / 0.968 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.242, allocations: 7.953 kB / 0.9681 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/1.242, allocations: 3.625 kB / 0.9681 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/1.242, allocations: 4 kB / 0.9681 GB, free: 3.746 MB / 0.6823 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.000109/1.243, allocations: 112.2 kB / 0.9682 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/1.243, allocations: 3.906 kB / 0.9682 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/1.243, allocations: 15.06 kB / 0.9682 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.243, allocations: 0 / 0.9682 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.243, allocations: 3.984 kB / 0.9682 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.243, allocations: 7.953 kB / 0.9682 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/1.243, allocations: 176 kB / 0.9684 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.243, allocations: 0 / 0.9684 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/1.243, allocations: 12 kB / 0.9684 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.243, allocations: 7.938 kB / 0.9684 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/1.243, allocations: 0 / 0.9684 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.243, allocations: 0 / 0.9684 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.243, allocations: 4 kB / 0.9684 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/1.244, allocations: 352.9 kB / 0.9687 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/1.244, allocations: 81.02 kB / 0.9688 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.244, allocations: 12.09 kB / 0.9688 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.244, allocations: 15.27 kB / 0.9688 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.244, allocations: 432 / 0.9688 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.244, allocations: 4 kB / 0.9688 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.456e-05/1.244, allocations: 90.12 kB / 0.9689 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.244, allocations: 0 / 0.9689 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003333/1.245, allocations: 14.75 kB / 0.9689 GB, free: 2.785 MB / 0.6823 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.0009399/1.246, allocations: 1.029 MB / 0.9699 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.246, allocations: 42.31 kB / 0.97 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.246, allocations: 4.25 kB / 0.97 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/1.246, allocations: 15.25 kB / 0.97 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/1.246, allocations: 4 kB / 0.97 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/1.247, allocations: 323.4 kB / 0.9703 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/1.247, allocations: 0.6887 MB / 0.971 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.764e-05/1.248, allocations: 8 kB / 0.971 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/1.248, allocations: 21.61 kB / 0.971 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/1.248, allocations: 3.938 kB / 0.971 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4395/1.687, allocations: 1.446 MB / 0.9724 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.687, allocations: 185.8 kB / 0.9726 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/3.463, allocations: 6.922 kB / 0.9726 GB, free: 259.1 MB / 0.6823 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)