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.363/1.363, allocations: 251.9 MB / 266.9 MB, free: 11 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.001183/0.001183, allocations: 190.6 kB / 326.5 MB, free: 2.207 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.865/1.865, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001189/0.001189, allocations: 95.44 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.266, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001385/0.2674, allocations: 0.9688 MB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2696, allocations: 1.904 MB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.2696, allocations: 0 / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.2696, allocations: 0 / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2698, allocations: 11.97 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.2702, allocations: 107.6 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.2702, allocations: 31.89 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.2703, allocations: 4 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.2703, allocations: 15.98 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.2704, allocations: 23.91 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2704, allocations: 0 / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.2707, allocations: 107.8 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2707, allocations: 8 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.2707, allocations: 29.7 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2709, allocations: 51.92 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2709, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2709, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2709, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 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.0003365/0.2712, allocations: 343.6 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2713, allocations: 8.031 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.2713, allocations: 34.56 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2715, allocations: 15.94 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.2716, allocations: 167 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2716, allocations: 8 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2717, allocations: 3.906 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.2718, allocations: 76.25 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2718, allocations: 0 / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2718, allocations: 0 / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.2718, allocations: 3.953 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.2719, allocations: 19.92 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.2723, allocations: 463 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2725, allocations: 75.88 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.2725, allocations: 3.938 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2725, allocations: 34.56 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2725, allocations: 0 / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005474/0.2731, allocations: 306.1 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2731, allocations: 106.8 kB / 0.9049 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.483e-05/0.2732, allocations: 98.11 kB / 0.905 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2732, allocations: 29.7 kB / 0.905 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.2732, allocations: 88.03 kB / 0.9051 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2732, allocations: 31.58 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.2732, allocations: 4 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.2733, allocations: 314.8 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.2733, allocations: 11.98 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.2734, allocations: 57.08 kB / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.2734, allocations: 23.94 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2734, allocations: 0 / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001029/0.2735, allocations: 93.45 kB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2735, allocations: 11.95 kB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2736, allocations: 4.125 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2736, allocations: 4 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.2736, allocations: 23.98 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2737, allocations: 3.938 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.2737, allocations: 8.062 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.2737, allocations: 4 kB / 0.9057 GB, free: 57.73 MB / 0.6042 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 5.518e-05/0.2738, allocations: 117.8 kB / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.2739, allocations: 0 / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2739, allocations: 19.5 kB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2739, allocations: 4 kB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2739, allocations: 0 / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2739, allocations: 4.609 kB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.2742, allocations: 173.7 kB / 0.906 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2742, allocations: 0 / 0.906 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.2743, allocations: 15.94 kB / 0.906 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2743, allocations: 4 kB / 0.906 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2743, allocations: 0 / 0.906 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2743, allocations: 7.938 kB / 0.906 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2743, allocations: 4 kB / 0.906 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.2745, allocations: 349.4 kB / 0.9064 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.2746, allocations: 89.09 kB / 0.9065 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2746, allocations: 4 kB / 0.9065 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2748, allocations: 4 kB / 0.9065 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.2748, allocations: 15.92 kB / 0.9065 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2748, allocations: 4 kB / 0.9065 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.988e-05/0.2748, allocations: 79.28 kB / 0.9066 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 0.9066 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002899/0.2751, allocations: 12 kB / 0.9066 GB, free: 56.73 MB / 0.6042 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.0003419/0.2755, allocations: 1.028 MB / 0.9076 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.2756, allocations: 39.97 kB / 0.9076 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2756, allocations: 4.25 kB / 0.9076 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.2756, allocations: 23.92 kB / 0.9076 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2759, allocations: 10.98 kB / 0.9076 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.277, allocations: 1.441 MB / 0.9091 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2773, allocations: 0.6926 MB / 0.9097 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.982e-05/0.2773, allocations: 4 kB / 0.9097 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.2774, allocations: 21.47 kB / 0.9098 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2774, allocations: 0 / 0.9098 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.2904, allocations: 1.447 MB / 0.9112 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.2907, allocations: 246.2 kB / 0.9114 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.82, allocations: 0 / 0.9114 GB, free: 51.84 MB / 0.6042 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)