Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_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.001321/0.001321, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001638/0.001638, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.064/3.064, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008719/0.0008719, allocations: 12.94 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4525, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006803/0.4593, allocations: 3.061 MB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.4641, allocations: 2.156 MB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.4644, allocations: 0 / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.4648, allocations: 43.78 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.4653, allocations: 91.69 kB / 0.7925 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.4676, allocations: 421.7 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.468, allocations: 168.7 kB / 0.793 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.4681, allocations: 9.562 kB / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.4685, allocations: 103.7 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.4687, allocations: 75.73 kB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.4688, allocations: 8 kB / 0.7932 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4702, allocations: 371.5 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.4704, allocations: 35.89 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4705, allocations: 61.56 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.4712, allocations: 243.7 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4712, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4712, allocations: 8 kB / 0.7939 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4712, allocations: 3.938 kB / 0.7939 GB, free: 5.004 MB / 0.6075 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.001114/0.4723, allocations: 467.2 kB / 0.7943 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.4724, allocations: 8.031 kB / 0.7944 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.4725, allocations: 54.55 kB / 0.7944 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/0.4762, allocations: 183.5 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.4767, allocations: 218.7 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.4768, allocations: 8.328 kB / 0.7948 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.4769, allocations: 16 kB / 0.7948 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4781, allocations: 300.3 kB / 0.7951 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4782, allocations: 0 / 0.7951 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.4783, allocations: 8 kB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.4783, allocations: 11.94 kB / 0.7951 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.4796, allocations: 259.6 kB / 0.7954 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.4826, allocations: 1.377 MB / 0.7967 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4837, allocations: 209.4 kB / 0.7969 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.4838, allocations: 0 / 0.7969 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.4839, allocations: 46.5 kB / 0.797 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.4839, allocations: 0 / 0.797 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001181/0.4851, allocations: 245.6 kB / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.4851, allocations: 59.31 kB / 0.7972 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.4854, allocations: 146.5 kB / 0.7974 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.4855, allocations: 33.7 kB / 0.7974 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4856, allocations: 128 kB / 0.7975 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.4857, allocations: 63.09 kB / 0.7976 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.4857, allocations: 8 kB / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.486, allocations: 322.8 kB / 0.7979 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.4863, allocations: 64.42 kB / 0.798 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.4868, allocations: 146.2 kB / 0.7981 GB, free: 340 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.4872, allocations: 79.91 kB / 0.7982 GB, free: 260 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4872, allocations: 0 / 0.7982 GB, free: 260 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009697/0.4882, allocations: 248.1 kB / 0.7984 GB, free: 8 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.4882, allocations: 8.312 kB / 0.7984 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4883, allocations: 8 kB / 0.7984 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.4883, allocations: 4 kB / 0.7984 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.489, allocations: 71.89 kB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.489, allocations: 4 kB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4895, allocations: 27.73 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.4895, allocations: 15.98 kB / 0.7986 GB, free: 15.87 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.4897, allocations: 133.7 kB / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.4898, allocations: 15.81 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4909, allocations: 226.7 kB / 0.7989 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.491, allocations: 3.938 kB / 0.7989 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.491, allocations: 0 / 0.7989 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.491, allocations: 7.953 kB / 0.7989 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4916, allocations: 237.4 kB / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4916, allocations: 0 / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.4921, allocations: 55.91 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.4921, allocations: 0 / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.4922, allocations: 11.98 kB / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4922, allocations: 0 / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4922, allocations: 3.953 kB / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.4932, allocations: 297.9 kB / 0.7995 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4935, allocations: 105 kB / 0.7996 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.4935, allocations: 4 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.494, allocations: 15.98 kB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4941, allocations: 11.92 kB / 0.7996 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.4942, allocations: 11.95 kB / 0.7996 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001643/0.4943, allocations: 117.5 kB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4943, allocations: 0 / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007256/0.4951, allocations: 71.84 kB / 0.7998 GB, free: 14.47 MB / 0.6231 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 (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.001564/0.4967, allocations: 0.8598 MB / 0.8007 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009532/0.4976, allocations: 182.9 kB / 0.8008 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4977, allocations: 4 kB / 0.8008 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.4981, allocations: 79.89 kB / 0.8009 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.4988, allocations: 59.88 kB / 0.801 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.5033, allocations: 2.588 MB / 0.8035 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5037, allocations: 0.7254 MB / 0.8042 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007074/0.5045, allocations: 53.88 kB / 0.8043 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.5047, allocations: 47.36 kB / 0.8043 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of SimCode: time 1.492e-06/0.5047, allocations: 0 / 0.8043 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.5359, allocations: 4.591 MB / 0.8088 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004156/0.5365, allocations: 210.2 kB / 0.809 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/3.834, allocations: 2.656 kB / 0.809 GB, free: 5.133 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: