Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 177.1 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 0.6366 GB, free: 9.465 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000834/0.0008338, allocations: 99.03 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003949, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2767, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9949/1.272, allocations: 350.8 MB / 1.331 GB, free: 7.453 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.272, allocations: 77.08 kB / 1.331 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.0212/1.293, allocations: 8.114 MB / 1.339 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.884e-06/1.293, allocations: 0 / 1.339 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.293, allocations: 4 kB / 1.339 GB, free: 15.37 MB / 0.9167 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.0004779/1.294, allocations: 352.1 kB / 1.339 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.294, allocations: 12.03 kB / 1.339 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/1.294, allocations: 38.55 kB / 1.339 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/1.294, allocations: 11.78 kB / 1.339 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.294, allocations: 178.8 kB / 1.34 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.294, allocations: 0 / 1.34 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/1.294, allocations: 9.203 kB / 1.34 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.295, allocations: 72.25 kB / 1.34 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.295, allocations: 0 / 1.34 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/1.295, allocations: 0 / 1.34 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/1.295, allocations: 9.703 kB / 1.34 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/1.295, allocations: 7.938 kB / 1.34 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/1.295, allocations: 470.9 kB / 1.34 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/1.296, allocations: 71.66 kB / 1.34 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/1.296, allocations: 0 / 1.34 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.296, allocations: 47.25 kB / 1.34 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/1.296, allocations: 0 / 1.34 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0007392/1.296, allocations: 306.2 kB / 1.341 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/1.297, allocations: 102.8 kB / 1.341 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/1.297, allocations: 97.23 kB / 1.341 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.297, allocations: 29.7 kB / 1.341 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/1.297, allocations: 92 kB / 1.341 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/1.297, allocations: 19.66 kB / 1.341 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.297, allocations: 4 kB / 1.341 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.297, allocations: 318.8 kB / 1.341 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/1.297, allocations: 12 kB / 1.341 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/1.297, allocations: 57.83 kB / 1.341 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/1.297, allocations: 16.56 kB / 1.341 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.297, allocations: 0 / 1.341 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/1.297, allocations: 98.02 kB / 1.341 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.297, allocations: 6.656 kB / 1.341 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.297, allocations: 4.125 kB / 1.341 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.297, allocations: 4 kB / 1.341 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/1.297, allocations: 20.55 kB / 1.341 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.297, allocations: 12.66 kB / 1.341 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/1.298, allocations: 4 kB / 1.341 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.298, allocations: 8.703 kB / 1.341 GB, free: 12.6 MB / 0.9167 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.0001163/1.298, allocations: 113.8 kB / 1.342 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/1.298, allocations: 11.89 kB / 1.342 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/1.298, allocations: 12.16 kB / 1.342 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.298, allocations: 4 kB / 1.342 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.298, allocations: 4 kB / 1.342 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.298, allocations: 0 / 1.342 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/1.298, allocations: 177.6 kB / 1.342 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.298, allocations: 0.9375 kB / 1.342 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/1.298, allocations: 24.95 kB / 1.342 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.298, allocations: 0 / 1.342 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.298, allocations: 0 / 1.342 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.298, allocations: 4 kB / 1.342 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.298, allocations: 0 / 1.342 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/1.299, allocations: 354.6 kB / 1.342 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.299, allocations: 81.02 kB / 1.342 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.299, allocations: 4 kB / 1.342 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.299, allocations: 8.547 kB / 1.342 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/1.299, allocations: 16.45 kB / 1.342 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.299, allocations: 4 kB / 1.342 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.735e-05/1.299, allocations: 75.28 kB / 1.342 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.41e-07/1.299, allocations: 0 / 1.342 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003248/1.299, allocations: 16 kB / 1.342 GB, free: 11.61 MB / 0.9167 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.0007449/1.3, allocations: 1.034 MB / 1.343 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001351/1.3, allocations: 39.91 kB / 1.343 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.3, allocations: 4.25 kB / 1.343 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/1.3, allocations: 20.59 kB / 1.343 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/1.301, allocations: 11.98 kB / 1.343 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.302, allocations: 1.453 MB / 1.345 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.302, allocations: 0.6848 MB / 1.345 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.657e-05/1.303, allocations: 7.984 kB / 1.345 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/1.303, allocations: 19.38 kB / 1.345 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/1.303, allocations: 0.5625 kB / 1.345 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/1.316, allocations: 1.445 MB / 1.347 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.316, allocations: 225 kB / 1.347 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/3.024, allocations: 0.9375 kB / 1.347 GB, free: 6.719 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)