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.198/1.198, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008665/0.0008665, allocations: 167.5 kB / 325.8 MB, free: 2.676 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.282/1.282, allocations: 205 MB / 0.576 GB, free: 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.0006623/0.0006623, allocations: 97.05 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 12.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0009411/0.1374, allocations: 1.006 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1394, allocations: 2.498 MB / 0.8996 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.1394, allocations: 4 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1394, allocations: 7.922 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.1395, allocations: 7.922 kB / 0.8996 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1398, allocations: 115.5 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.1399, allocations: 35.86 kB / 0.8998 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.321e-05/0.1399, allocations: 4 kB / 0.8998 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.1399, allocations: 19.92 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.14, allocations: 27.91 kB / 0.8998 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.14, allocations: 4 kB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.1402, allocations: 115.7 kB / 0.8999 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1402, allocations: 0 / 0.8999 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1402, allocations: 15.94 kB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1404, allocations: 92.03 kB / 0.9 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1404, allocations: 0 / 0.9 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1404, allocations: 0 / 0.9 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.1404, allocations: 0 / 0.9 GB, free: 64.09 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.0002205/0.1406, allocations: 339.5 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1407, allocations: 8.031 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.1407, allocations: 38.75 kB / 0.9004 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1408, allocations: 16.92 kB / 0.9004 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.519e-05/0.1409, allocations: 160.4 kB / 0.9006 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1409, allocations: 4.375 kB / 0.9006 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1409, allocations: 8.281 kB / 0.9006 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.141, allocations: 84.12 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.141, allocations: 0 / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1411, allocations: 0 / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1411, allocations: 0 / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.1411, allocations: 15.92 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1415, allocations: 466.9 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.1416, allocations: 75.8 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.1416, allocations: 22.64 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.1416, allocations: 0 / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.1416, allocations: 42.5 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1416, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.142, allocations: 306.1 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1421, allocations: 102.8 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.1421, allocations: 110 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.1421, allocations: 29.7 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.1421, allocations: 84.05 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.1422, allocations: 23.66 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.1422, allocations: 21.7 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.1422, allocations: 318.8 kB / 0.9022 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.1422, allocations: 15.98 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.1423, allocations: 57.08 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.1423, allocations: 69.03 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1424, allocations: 0 / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.666e-05/0.1425, allocations: 105.5 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.1425, allocations: 4 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1425, allocations: 0 / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.1425, allocations: 4 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.1426, allocations: 19.98 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1426, allocations: 7.938 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.1426, allocations: 0 / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1426, allocations: 11.94 kB / 0.9025 GB, free: 61.2 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 4.197e-05/0.1427, allocations: 114 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1427, allocations: 8.609 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.1427, allocations: 11.55 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1427, allocations: 0 / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1428, allocations: 4 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1428, allocations: 0 / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.143, allocations: 177.6 kB / 0.9028 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.143, allocations: 3.984 kB / 0.9028 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.1431, allocations: 16 kB / 0.9028 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1431, allocations: 0 / 0.9028 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1431, allocations: 0 / 0.9028 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1431, allocations: 15.92 kB / 0.9028 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1431, allocations: 3.938 kB / 0.9028 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1433, allocations: 330 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1433, allocations: 81.14 kB / 0.9032 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1433, allocations: 4 kB / 0.9032 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1435, allocations: 12 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1435, allocations: 11.86 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.1435, allocations: 4 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.538e-05/0.1435, allocations: 79.28 kB / 0.9033 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1435, allocations: 0 / 0.9033 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002682/0.1438, allocations: 12 kB / 0.9034 GB, free: 60.23 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.0002417/0.144, allocations: 0.8633 MB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.1441, allocations: 47.91 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1441, allocations: 0 / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.1442, allocations: 32.17 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1445, allocations: 7.938 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.1455, allocations: 1.686 MB / 0.9059 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.1456, allocations: 0.6848 MB / 0.9066 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1456, allocations: 15.97 kB / 0.9066 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.1456, allocations: 17.41 kB / 0.9066 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1456, allocations: 0 / 0.9066 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.3988, allocations: 1.504 MB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.399, allocations: 263.8 kB / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.028, allocations: 6.109 kB / 0.9084 GB, free: 55.15 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)