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 2.294/2.294, allocations: 252 MB / 267.3 MB, free: 10.85 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.002309/0.002309, allocations: 176.9 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.011/3.011, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.001025/0.001025, allocations: 91.09 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005114, allocations: 8.625 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3214, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001945/0.3234, allocations: 0.9968 MB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.3278, allocations: 2.478 MB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.3278, allocations: 0 / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3279, allocations: 3.938 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.328, allocations: 4 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.3288, allocations: 111.5 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.3289, allocations: 51.7 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.3289, allocations: 4 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.329, allocations: 12 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.3291, allocations: 19.91 kB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.3291, allocations: 0 / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.3295, allocations: 111.7 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3296, allocations: 11.98 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.3296, allocations: 45.62 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3299, allocations: 75.84 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3299, allocations: 4 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3299, allocations: 0 / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3299, allocations: 0 / 0.9047 GB, free: 59.43 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.000392/0.3303, allocations: 339.8 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3304, allocations: 8.031 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.3304, allocations: 34.73 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.3308, allocations: 16.94 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.674e-05/0.3309, allocations: 168.3 kB / 0.9053 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3309, allocations: 384 / 0.9053 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.331, allocations: 16.22 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3311, allocations: 72.19 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3312, allocations: 0 / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3312, allocations: 4 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3312, allocations: 0 / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.3313, allocations: 19.92 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.3319, allocations: 474.9 kB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3321, allocations: 71.59 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3322, allocations: 26.7 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3322, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3322, allocations: 38.5 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3323, allocations: 0 / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007576/0.333, allocations: 310.4 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3331, allocations: 102.8 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.3332, allocations: 97.84 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3332, allocations: 29.7 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3332, allocations: 88.05 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3333, allocations: 23.64 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.3333, allocations: 0 / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.3333, allocations: 322.8 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.3334, allocations: 20.05 kB / 0.9069 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.3335, allocations: 57.02 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3336, allocations: 69.09 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3336, allocations: 0 / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001986/0.3338, allocations: 105.9 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3338, allocations: 4 kB / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3339, allocations: 0 / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3339, allocations: 4.094 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.334, allocations: 19.98 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.334, allocations: 7.938 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.3341, allocations: 8.109 kB / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3341, allocations: 11.94 kB / 0.9072 GB, free: 56.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.3342, allocations: 117.8 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3343, allocations: 4 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.3344, allocations: 11.55 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3344, allocations: 0 / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3344, allocations: 4 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3344, allocations: 3.938 kB / 0.9073 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.3349, allocations: 177.6 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.335, allocations: 4 kB / 0.9075 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3351, allocations: 19.94 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3351, allocations: 0 / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3351, allocations: 4 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3352, allocations: 4 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3352, allocations: 3.984 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3354, allocations: 326 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3355, allocations: 81.14 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3355, allocations: 8 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3358, allocations: 0 / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.3359, allocations: 15.86 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3359, allocations: 8.062 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.721e-05/0.3359, allocations: 83.28 kB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3359, allocations: 0 / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005616/0.3365, allocations: 8 kB / 0.908 GB, free: 55.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004663/0.337, allocations: 0.8634 MB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3372, allocations: 51.95 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3372, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.3372, allocations: 23.92 kB / 0.909 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.338, allocations: 13.97 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.34, allocations: 1.755 MB / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3401, allocations: 0.6848 MB / 0.9114 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.557e-05/0.3402, allocations: 8 kB / 0.9114 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.3403, allocations: 15.44 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.3403, allocations: 3.938 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.3924, allocations: 1.487 MB / 0.9128 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.3927, allocations: 277.8 kB / 0.9131 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/3.467, allocations: 0 / 0.9131 GB, free: 50.45 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)