Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007564/0.007564, allocations: 169.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8988/0.8988, allocations: 143.2 MB / 434.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 83.41 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001004/0.1199, allocations: 0.9939 MB / 0.5989 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1223, allocations: 2.48 MB / 0.6013 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.1223, allocations: 0 / 0.6013 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.1224, allocations: 0 / 0.6013 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.1224, allocations: 8 kB / 0.6014 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1228, allocations: 119.4 kB / 0.6015 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.1228, allocations: 31.91 kB / 0.6015 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.634e-05/0.1229, allocations: 4 kB / 0.6015 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.1229, allocations: 19.92 kB / 0.6015 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.123, allocations: 11.98 kB / 0.6015 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.123, allocations: 3.938 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1232, allocations: 119.7 kB / 0.6017 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1232, allocations: 11.97 kB / 0.6017 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.1233, allocations: 41.64 kB / 0.6017 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1234, allocations: 80.06 kB / 0.6018 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1234, allocations: 0 / 0.6018 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1235, allocations: 0 / 0.6018 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.706e-06/0.1235, allocations: 0 / 0.6018 GB, free: 3.641 MB / 0.4981 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.0002795/0.1237, allocations: 347.4 kB / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1238, allocations: 8.031 kB / 0.6021 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.1238, allocations: 38.75 kB / 0.6022 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.124, allocations: 16.92 kB / 0.6022 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.1241, allocations: 164.3 kB / 0.6023 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1241, allocations: 4.375 kB / 0.6023 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1241, allocations: 8.375 kB / 0.6023 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1242, allocations: 72.17 kB / 0.6024 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.1242, allocations: 0 / 0.6024 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1243, allocations: 8 kB / 0.6024 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1243, allocations: 4 kB / 0.6024 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.1243, allocations: 11.94 kB / 0.6024 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.1248, allocations: 466.8 kB / 0.6029 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1249, allocations: 71.66 kB / 0.6029 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.1249, allocations: 34.72 kB / 0.603 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-06/0.1249, allocations: 0 / 0.603 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.125, allocations: 30.56 kB / 0.603 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/0.125, allocations: 7.984 kB / 0.603 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000471/0.1254, allocations: 302.2 kB / 0.6033 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1255, allocations: 110.7 kB / 0.6034 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.1255, allocations: 97.86 kB / 0.6035 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1256, allocations: 25.7 kB / 0.6035 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1256, allocations: 92.3 kB / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1256, allocations: 27.55 kB / 0.6036 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.1256, allocations: 21.66 kB / 0.6037 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.1257, allocations: 330.7 kB / 0.604 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.1258, allocations: 8 kB / 0.604 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.1258, allocations: 53.14 kB / 0.604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/0.1259, allocations: 73.08 kB / 0.6041 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1259, allocations: 0 / 0.6041 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.126, allocations: 93.55 kB / 0.6042 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.126, allocations: 8.125 kB / 0.6042 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.126, allocations: 4 kB / 0.6042 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.126, allocations: 4 kB / 0.6042 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.1261, allocations: 19.94 kB / 0.6042 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1261, allocations: 3.984 kB / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1262, allocations: 7.906 kB / 0.6042 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1262, allocations: 7.938 kB / 0.6042 GB, free: 0.7383 MB / 0.4981 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 6.143e-05/0.1263, allocations: 113.8 kB / 0.6044 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.1263, allocations: 0 / 0.6044 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1263, allocations: 15.56 kB / 0.6044 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1263, allocations: 0 / 0.6044 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1264, allocations: 0 / 0.6044 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1264, allocations: 4 kB / 0.6044 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.1267, allocations: 185.5 kB / 0.6046 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1267, allocations: 0.6094 kB / 0.6046 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.1267, allocations: 15.98 kB / 0.6046 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1268, allocations: 4 kB / 0.6046 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1268, allocations: 0 / 0.6046 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1268, allocations: 0 / 0.6046 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1268, allocations: 4 kB / 0.6046 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.127, allocations: 333.9 kB / 0.6049 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.215/0.3419, allocations: 86.52 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.342, allocations: 0 / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3422, allocations: 4.734 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.3422, allocations: 8.984 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3422, allocations: 7.5 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.3423, allocations: 81.2 kB / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 1.188 kB / 0.6051 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004271/0.3427, allocations: 14.09 kB / 0.6051 GB, free: 41.13 MB / 0.4981 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.0003319/0.343, allocations: 0.859 MB / 0.6059 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.3431, allocations: 47.52 kB / 0.606 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3432, allocations: 2.031 kB / 0.606 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.3432, allocations: 19.94 kB / 0.606 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.3436, allocations: 15.62 kB / 0.606 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3447, allocations: 1.747 MB / 0.6077 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.3448, allocations: 0.6882 MB / 0.6084 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.3449, allocations: 9.188 kB / 0.6084 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.3449, allocations: 17.62 kB / 0.6084 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3449, allocations: 3.844 kB / 0.6084 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2097/0.5546, allocations: 1.506 MB / 0.6099 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.5548, allocations: 249 kB / 0.6101 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.891, allocations: 0 / 0.6101 GB, free: 37.78 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)