Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_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.001014/0.001014, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001232/0.001232, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.677/2.677, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7853, allocations: 146.8 MB / 0.9811 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004167/0.7896, allocations: 3.581 MB / 0.9846 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.7921, allocations: 2.256 MB / 0.9868 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.7922, allocations: 0 / 0.9868 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.7925, allocations: 35.8 kB / 0.9869 GB, free: 408 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.7928, allocations: 91.42 kB / 0.987 GB, free: 316 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.7941, allocations: 421.2 kB / 0.9874 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.7944, allocations: 295.7 kB / 0.9876 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.7945, allocations: 13.55 kB / 0.9877 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.7947, allocations: 107.6 kB / 0.9878 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.7948, allocations: 95.64 kB / 0.9878 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.7949, allocations: 8 kB / 0.9879 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/0.7956, allocations: 351.3 kB / 0.9882 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.7957, allocations: 39.88 kB / 0.9882 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.7957, allocations: 57.64 kB / 0.9883 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.7961, allocations: 257.7 kB / 0.9885 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.7961, allocations: 0 / 0.9885 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7961, allocations: 0 / 0.9885 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.7961, allocations: 0 / 0.9885 GB, free: 14.7 MB / 0.7481 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.0007007/0.7968, allocations: 483 kB / 0.989 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7969, allocations: 15.97 kB / 0.989 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.797, allocations: 50.55 kB / 0.9891 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.7988, allocations: 179.6 kB / 0.9892 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.7991, allocations: 202.8 kB / 0.9894 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.7991, allocations: 24.28 kB / 0.9894 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.7992, allocations: 16 kB / 0.9895 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.7998, allocations: 304.3 kB / 0.9897 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7998, allocations: 0 / 0.9897 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.7998, allocations: 8 kB / 0.9898 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.7999, allocations: 4 kB / 0.9898 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.8005, allocations: 255.6 kB / 0.99 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.8021, allocations: 1.385 MB / 0.9914 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.8027, allocations: 205.2 kB / 0.9915 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.8029, allocations: 76.81 kB / 0.9916 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.803, allocations: 11.98 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.803, allocations: 34.56 kB / 0.9917 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.214e-06/0.803, allocations: 0 / 0.9917 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.000733/0.8037, allocations: 239.1 kB / 0.9919 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.8038, allocations: 59.41 kB / 0.992 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.804, allocations: 172.2 kB / 0.9921 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.804, allocations: 33.7 kB / 0.9921 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.8041, allocations: 120 kB / 0.9923 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.8041, allocations: 59.11 kB / 0.9923 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.8042, allocations: 4 kB / 0.9923 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8043, allocations: 326.8 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8045, allocations: 72.41 kB / 0.9927 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.8047, allocations: 134.3 kB / 0.9928 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.8049, allocations: 79.91 kB / 0.9929 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.805, allocations: 3.938 kB / 0.9929 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005305/0.8055, allocations: 242.2 kB / 0.9931 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8055, allocations: 9.719 kB / 0.9932 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8055, allocations: 7.969 kB / 0.9932 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.8056, allocations: 4 kB / 0.9932 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.8059, allocations: 72.2 kB / 0.9932 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8059, allocations: 7.938 kB / 0.9932 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.8062, allocations: 31.67 kB / 0.9933 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.8062, allocations: 12 kB / 0.9933 GB, free: 9.473 MB / 0.7481 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.0001204/0.8063, allocations: 129.7 kB / 0.9934 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.8064, allocations: 15.81 kB / 0.9934 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.807, allocations: 232 kB / 0.9936 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.807, allocations: 4 kB / 0.9936 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.807, allocations: 0 / 0.9936 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.807, allocations: 3.984 kB / 0.9936 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.8073, allocations: 249.4 kB / 0.9939 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8073, allocations: 0 / 0.9939 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.8076, allocations: 47.89 kB / 0.9939 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.8077, allocations: 7.938 kB / 0.9939 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.8077, allocations: 4 kB / 0.9939 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8077, allocations: 4 kB / 0.9939 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8077, allocations: 0 / 0.9939 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.8082, allocations: 292.4 kB / 0.9942 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.8083, allocations: 108.9 kB / 0.9943 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.8084, allocations: 4 kB / 0.9943 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.8086, allocations: 23.98 kB / 0.9944 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.8087, allocations: 11.98 kB / 0.9944 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.8087, allocations: 11.92 kB / 0.9944 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000105/0.8088, allocations: 113.1 kB / 0.9945 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8088, allocations: 0 / 0.9945 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003929/0.8092, allocations: 67.89 kB / 0.9946 GB, free: 8.07 MB / 0.7481 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.000915/0.8101, allocations: 0.8664 MB / 0.9954 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.8107, allocations: 176.4 kB / 0.9956 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8107, allocations: 0 / 0.9956 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.8109, allocations: 89.44 kB / 0.9957 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.8114, allocations: 65.11 kB / 0.9957 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.8136, allocations: 1.105 MB / 0.9968 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.8139, allocations: 0.7215 MB / 0.9975 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003837/0.8143, allocations: 49.88 kB / 0.9975 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.8144, allocations: 51.41 kB / 0.9976 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/0.8144, allocations: 0 / 0.9976 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.8315, allocations: 4.721 MB / 1.002 GB, free: 368 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.8317, allocations: 222 kB / 1.002 GB, free: 124 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.761, allocations: 1.891 kB / 1.002 GB, free: 124 kB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat does not exist to compare? outputFormat=mat