Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 177.8 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.11 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004495, allocations: 6.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2926, allocations: 106.3 MB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.382, allocations: 345 MB / 1.237 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.382, allocations: 81.55 kB / 1.237 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02192/1.404, allocations: 8.141 MB / 1.245 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.415e-06/1.404, allocations: 3.938 kB / 1.245 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.404, allocations: 0 / 1.245 GB, free: 14.57 MB / 0.7605 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.0005742/1.405, allocations: 355.1 kB / 1.245 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/1.405, allocations: 12.03 kB / 1.245 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/1.405, allocations: 34.55 kB / 1.246 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/1.405, allocations: 11.62 kB / 1.246 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.405, allocations: 171 kB / 1.246 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.405, allocations: 8 kB / 1.246 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/1.405, allocations: 7.688 kB / 1.246 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/1.406, allocations: 66.95 kB / 1.246 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.406, allocations: 0 / 1.246 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.406, allocations: 0 / 1.246 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/1.406, allocations: 3.984 kB / 1.246 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/1.406, allocations: 11.94 kB / 1.246 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/1.406, allocations: 472.5 kB / 1.246 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/1.407, allocations: 71.59 kB / 1.246 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/1.407, allocations: 4 kB / 1.246 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.407, allocations: 34.62 kB / 1.246 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/1.407, allocations: 0 / 1.246 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0007571/1.407, allocations: 306.4 kB / 1.247 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/1.407, allocations: 118.9 kB / 1.247 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/1.408, allocations: 97.09 kB / 1.247 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.408, allocations: 29.69 kB / 1.247 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/1.408, allocations: 87.48 kB / 1.247 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/1.408, allocations: 23.22 kB / 1.247 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.408, allocations: 0 / 1.247 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.408, allocations: 322.5 kB / 1.247 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/1.408, allocations: 11.62 kB / 1.247 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/1.408, allocations: 48.58 kB / 1.247 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/1.408, allocations: 22.97 kB / 1.247 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.408, allocations: 0 / 1.247 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001583/1.408, allocations: 99.58 kB / 1.247 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.408, allocations: 8 kB / 1.247 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.408, allocations: 3.938 kB / 1.247 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.408, allocations: 4 kB / 1.247 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/1.408, allocations: 19.98 kB / 1.247 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.408, allocations: 3.984 kB / 1.247 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/1.408, allocations: 11.52 kB / 1.247 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/1.409, allocations: 4 kB / 1.247 GB, free: 11.9 MB / 0.7605 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.000115/1.409, allocations: 121.8 kB / 1.248 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/1.409, allocations: 7.984 kB / 1.248 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.409, allocations: 7.438 kB / 1.248 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.409, allocations: 0 / 1.248 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.409, allocations: 4 kB / 1.248 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.409, allocations: 0 / 1.248 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/1.409, allocations: 180 kB / 1.248 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.409, allocations: 64 / 1.248 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/1.409, allocations: 23.98 kB / 1.248 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.409, allocations: 0 / 1.248 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.409, allocations: 0 / 1.248 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.409, allocations: 11.94 kB / 1.248 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.409, allocations: 0 / 1.248 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/1.41, allocations: 349.9 kB / 1.248 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/1.41, allocations: 81.11 kB / 1.248 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/1.41, allocations: 11.62 kB / 1.248 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.41, allocations: 3.984 kB / 1.248 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/1.41, allocations: 7.953 kB / 1.248 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/1.41, allocations: 4 kB / 1.248 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.221e-05/1.41, allocations: 78.84 kB / 1.248 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/1.41, allocations: 0 / 1.248 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003234/1.41, allocations: 12 kB / 1.248 GB, free: 10.95 MB / 0.7605 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.000786/1.411, allocations: 1.054 MB / 1.249 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001504/1.411, allocations: 43.11 kB / 1.249 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.411, allocations: 0 / 1.249 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/1.411, allocations: 15.94 kB / 1.249 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.412, allocations: 19.12 kB / 1.249 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.413, allocations: 1.441 MB / 1.251 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/1.414, allocations: 0.6848 MB / 1.252 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.123e-05/1.414, allocations: 11.98 kB / 1.252 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/1.414, allocations: 14.88 kB / 1.252 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of SimCode: time 9.92e-07/1.414, allocations: 0 / 1.252 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/1.429, allocations: 1.443 MB / 1.253 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/1.429, allocations: 241.3 kB / 1.253 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/3.216, allocations: 2.234 kB / 1.253 GB, free: 6.105 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)