Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.004903/0.004904, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001098/0.001098, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 1.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.491, allocations: 82.03 MB / 0.6752 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00561/0.4967, allocations: 4.057 MB / 0.6792 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.4995, allocations: 2.433 MB / 0.6816 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.4997, allocations: 1.125 kB / 0.6816 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.5, allocations: 47.48 kB / 0.6816 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.5004, allocations: 103.8 kB / 0.6817 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.5018, allocations: 0.5202 MB / 0.6822 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.5022, allocations: 262.6 kB / 0.6825 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.5023, allocations: 10 kB / 0.6825 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.5025, allocations: 110.4 kB / 0.6826 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.5027, allocations: 103.8 kB / 0.6827 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.5027, allocations: 8.562 kB / 0.6827 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.5037, allocations: 459.3 kB / 0.6831 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.5038, allocations: 37.58 kB / 0.6832 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.5039, allocations: 89.61 kB / 0.6832 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.5047, allocations: 410.3 kB / 0.6836 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5047, allocations: 3.984 kB / 0.6836 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5047, allocations: 3.938 kB / 0.6836 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5047, allocations: 0 / 0.6836 GB, free: 10.64 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007954/0.5055, allocations: 0.504 MB / 0.6841 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5056, allocations: 10.22 kB / 0.6841 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.5056, allocations: 52.23 kB / 0.6842 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.5076, allocations: 175.3 kB / 0.6844 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.508, allocations: 217.9 kB / 0.6846 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5081, allocations: 10.2 kB / 0.6846 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.5081, allocations: 15.38 kB / 0.6846 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.5088, allocations: 302.5 kB / 0.6849 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5088, allocations: 5.062 kB / 0.6849 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.5088, allocations: 10.94 kB / 0.6849 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.5089, allocations: 5.406 kB / 0.6849 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.5095, allocations: 262.7 kB / 0.6852 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.5111, allocations: 1.39 MB / 0.6865 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.5118, allocations: 190.7 kB / 0.6867 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.512, allocations: 85.16 kB / 0.6868 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.512, allocations: 2.844 kB / 0.6868 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5121, allocations: 31.81 kB / 0.6868 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.5121, allocations: 1.188 kB / 0.6868 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007854/0.5129, allocations: 248.6 kB / 0.687 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.5129, allocations: 54.59 kB / 0.6871 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5131, allocations: 162.3 kB / 0.6873 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.5131, allocations: 30.86 kB / 0.6873 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.5132, allocations: 123.5 kB / 0.6874 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.5133, allocations: 65.73 kB / 0.6875 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.5134, allocations: 47.53 kB / 0.6875 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5135, allocations: 329.8 kB / 0.6878 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5137, allocations: 68.86 kB / 0.6879 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.514, allocations: 135 kB / 0.688 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.5144, allocations: 227.5 kB / 0.6882 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5144, allocations: 4.969 kB / 0.6882 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005825/0.515, allocations: 252.4 kB / 0.6885 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.515, allocations: 6.531 kB / 0.6885 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5151, allocations: 1.5 kB / 0.6885 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5151, allocations: 4.344 kB / 0.6885 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.5154, allocations: 66.58 kB / 0.6886 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5155, allocations: 7.844 kB / 0.6886 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.5157, allocations: 35.36 kB / 0.6886 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5158, allocations: 9.062 kB / 0.6886 GB, free: 6.398 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001341/0.5159, allocations: 137 kB / 0.6887 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.516, allocations: 15.75 kB / 0.6888 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.5166, allocations: 228.8 kB / 0.689 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5166, allocations: 5.531 kB / 0.689 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5166, allocations: 5.422 kB / 0.689 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5166, allocations: 0 / 0.689 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.517, allocations: 247.8 kB / 0.6892 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.517, allocations: 5.25 kB / 0.6892 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.5173, allocations: 41.72 kB / 0.6893 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5173, allocations: 1.25 kB / 0.6893 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.5173, allocations: 5.281 kB / 0.6893 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5173, allocations: 1.25 kB / 0.6893 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5173, allocations: 3.984 kB / 0.6893 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.5179, allocations: 304.1 kB / 0.6896 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.518, allocations: 105.1 kB / 0.6897 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.518, allocations: 5.969 kB / 0.6897 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.5183, allocations: 16.73 kB / 0.6897 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.5184, allocations: 13.83 kB / 0.6897 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.5184, allocations: 13.7 kB / 0.6897 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.5185, allocations: 116 kB / 0.6898 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.535e-06/0.5185, allocations: 1.219 kB / 0.6898 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004254/0.5189, allocations: 63.38 kB / 0.6899 GB, free: 5.367 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.001037/0.52, allocations: 0.8657 MB / 0.6907 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.5205, allocations: 182.7 kB / 0.6909 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5206, allocations: 1.031 kB / 0.6909 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.5208, allocations: 87.33 kB / 0.691 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.5213, allocations: 61.84 kB / 0.691 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.5245, allocations: 2.174 MB / 0.6932 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5248, allocations: 0.7199 MB / 0.6939 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.5251, allocations: 51.08 kB / 0.6939 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5252, allocations: 48.62 kB / 0.694 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of SimCode: time 5.92e-07/0.5252, allocations: 0 / 0.694 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.5473, allocations: 5.309 MB / 0.6992 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.361, allocations: 13.5 kB / 0.6992 GB, free: 13.45 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)