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.001249/0.001249, allocations: 100.2 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.001328/0.001328, allocations: 177.3 kB / 15.94 MB, free: 220 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.546/1.546, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.641/2.641, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005404/0.0005407, allocations: 11.98 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005688/1.033, allocations: 3.058 MB / 0.9839 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003845/1.037, allocations: 2.187 MB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/1.038, allocations: 0 / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/1.038, allocations: 39.8 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/1.038, allocations: 75.81 kB / 0.9861 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/1.04, allocations: 457.8 kB / 0.9865 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/1.04, allocations: 168.6 kB / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/1.04, allocations: 13.55 kB / 0.9867 GB, free: 300 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/1.041, allocations: 103.7 kB / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/1.041, allocations: 79.67 kB / 0.9869 GB, free: 116 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/1.041, allocations: 8 kB / 0.9869 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/1.042, allocations: 395.5 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/1.043, allocations: 31.91 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/1.043, allocations: 57.58 kB / 0.9874 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006673/1.043, allocations: 257.7 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.043, allocations: 3.938 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/1.043, allocations: 4 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.043, allocations: 0 / 0.9876 GB, free: 15.37 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.001057/1.044, allocations: 475 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.044, allocations: 8.031 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/1.045, allocations: 58.55 kB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/1.048, allocations: 179.6 kB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/1.049, allocations: 210.8 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.049, allocations: 20.28 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/1.049, allocations: 12 kB / 0.9885 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/1.05, allocations: 296.3 kB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.05, allocations: 0 / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/1.05, allocations: 8 kB / 0.9888 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/1.05, allocations: 4 kB / 0.9888 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.051, allocations: 267.5 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/1.054, allocations: 1.392 MB / 0.9904 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.055, allocations: 198.3 kB / 0.9906 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/1.055, allocations: 4 kB / 0.9906 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.055, allocations: 38.56 kB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/1.055, allocations: 0 / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001254/1.056, allocations: 239.1 kB / 0.9909 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.056, allocations: 59.33 kB / 0.9909 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/1.056, allocations: 160.2 kB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/1.056, allocations: 37.7 kB / 0.9911 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.057, allocations: 120 kB / 0.9913 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/1.057, allocations: 63.19 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.057, allocations: 4 kB / 0.9913 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.057, allocations: 326.8 kB / 0.9916 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/1.057, allocations: 68.41 kB / 0.9917 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/1.058, allocations: 138.3 kB / 0.9918 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/1.058, allocations: 85.53 kB / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.058, allocations: 0 / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009666/1.059, allocations: 241.2 kB / 0.9921 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.059, allocations: 13.23 kB / 0.9921 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.059, allocations: 0 / 0.9921 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.059, allocations: 8 kB / 0.9922 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/1.06, allocations: 64.2 kB / 0.9922 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.06, allocations: 11.94 kB / 0.9922 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/1.06, allocations: 39.61 kB / 0.9923 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.06, allocations: 11.94 kB / 0.9923 GB, free: 10.23 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.0002007/1.061, allocations: 137.7 kB / 0.9924 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/1.061, allocations: 11.91 kB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/1.062, allocations: 231.8 kB / 0.9926 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.062, allocations: 8 kB / 0.9927 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.062, allocations: 0 / 0.9927 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.062, allocations: 0 / 0.9927 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/1.062, allocations: 253.4 kB / 0.9929 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.062, allocations: 0 / 0.9929 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/1.063, allocations: 51.89 kB / 0.9929 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.063, allocations: 4 kB / 0.9929 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/1.063, allocations: 7.984 kB / 0.993 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.063, allocations: 0 / 0.993 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.063, allocations: 4 kB / 0.993 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/1.064, allocations: 284.7 kB / 0.9932 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/1.064, allocations: 116.8 kB / 0.9933 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/1.064, allocations: 4 kB / 0.9933 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/1.064, allocations: 27.92 kB / 0.9934 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/1.064, allocations: 11.98 kB / 0.9934 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/1.065, allocations: 7.984 kB / 0.9934 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001355/1.065, allocations: 112.9 kB / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.065, allocations: 0 / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007236/1.065, allocations: 63.98 kB / 0.9936 GB, free: 8.816 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.0014/1.067, allocations: 0.8684 MB / 0.9944 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008224/1.068, allocations: 175.8 kB / 0.9946 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.068, allocations: 0 / 0.9946 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/1.068, allocations: 94.17 kB / 0.9947 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/1.069, allocations: 55.89 kB / 0.9947 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/1.073, allocations: 2.603 MB / 0.9973 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/1.073, allocations: 0.7254 MB / 0.998 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006888/1.074, allocations: 49.92 kB / 0.998 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/1.074, allocations: 47.42 kB / 0.9981 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/1.074, allocations: 0 / 0.9981 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/1.117, allocations: 4.706 MB / 1.003 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/1.118, allocations: 219.9 kB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.42, allocations: 5.953 kB / 1.003 GB, free: 15.36 MB / 0.7637 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