Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",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.001158/0.001158, allocations: 84.38 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.001279/0.001279, 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.516/1.516, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 11.94 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7715, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005139/0.7767, allocations: 4.21 MB / 0.9852 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.7795, allocations: 2.486 MB / 0.9877 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.7796, allocations: 0 / 0.9877 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.7799, allocations: 31.81 kB / 0.9877 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.7802, allocations: 91.42 kB / 0.9878 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.7812, allocations: 411.6 kB / 0.9882 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.7815, allocations: 263.9 kB / 0.9884 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.7816, allocations: 9.562 kB / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.7818, allocations: 111.5 kB / 0.9885 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.7819, allocations: 87.66 kB / 0.9886 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.782, allocations: 8 kB / 0.9886 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.7825, allocations: 263.4 kB / 0.9889 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.7826, allocations: 43.88 kB / 0.9889 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.7826, allocations: 61.58 kB / 0.989 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.783, allocations: 213.8 kB / 0.9892 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.783, allocations: 0 / 0.9892 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.964e-06/0.783, allocations: 0 / 0.9892 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.783, allocations: 0 / 0.9892 GB, free: 13.94 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.000709/0.7837, allocations: 471.1 kB / 0.9896 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7838, allocations: 8.031 kB / 0.9896 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.7838, allocations: 62.47 kB / 0.9897 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.784, allocations: 23.81 kB / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.7842, allocations: 206.8 kB / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7843, allocations: 16.28 kB / 0.9899 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.7843, allocations: 12 kB / 0.9899 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.7847, allocations: 236.2 kB / 0.9902 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.7847, allocations: 3.938 kB / 0.9902 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.7847, allocations: 8 kB / 0.9902 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.7848, allocations: 15.98 kB / 0.9902 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.7852, allocations: 435.3 kB / 0.9906 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.7863, allocations: 0.941 MB / 0.9915 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.7866, allocations: 164.5 kB / 0.9917 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.7867, allocations: 60.89 kB / 0.9917 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.7881, allocations: 1.829 MB / 0.9935 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.7881, allocations: 38.56 kB / 0.9936 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.7881, allocations: 0 / 0.9936 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003312/0.7885, allocations: 138.8 kB / 0.9937 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.7885, allocations: 55.41 kB / 0.9938 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.7887, allocations: 171.2 kB / 0.9939 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.7887, allocations: 25.7 kB / 0.9939 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.7888, allocations: 155.7 kB / 0.9941 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.7889, allocations: 55.2 kB / 0.9941 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.7889, allocations: 4 kB / 0.9941 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.789, allocations: 322.8 kB / 0.9945 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.7891, allocations: 35.97 kB / 0.9945 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.7893, allocations: 141.7 kB / 0.9946 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.7894, allocations: 58.17 kB / 0.9947 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7894, allocations: 4 kB / 0.9947 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000309/0.7897, allocations: 205.2 kB / 0.9949 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7897, allocations: 8 kB / 0.9949 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7897, allocations: 7.938 kB / 0.9949 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7898, allocations: 4 kB / 0.9949 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.7899, allocations: 47.92 kB / 0.9949 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.79, allocations: 11.92 kB / 0.995 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.7901, allocations: 36.11 kB / 0.995 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.7901, allocations: 16 kB / 0.995 GB, free: 7.285 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001095/0.7902, allocations: 133.7 kB / 0.9951 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.7903, allocations: 15.81 kB / 0.9952 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.7906, allocations: 156.8 kB / 0.9953 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7906, allocations: 4 kB / 0.9953 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7906, allocations: 0 / 0.9953 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7906, allocations: 0 / 0.9953 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.7909, allocations: 225.5 kB / 0.9955 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7909, allocations: 0 / 0.9955 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.791, allocations: 24 kB / 0.9955 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.791, allocations: 0 / 0.9955 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.791, allocations: 3.984 kB / 0.9955 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.791, allocations: 4 kB / 0.9955 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.791, allocations: 0 / 0.9955 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.7913, allocations: 231.1 kB / 0.9958 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.7914, allocations: 112.8 kB / 0.9959 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.7914, allocations: 4 kB / 0.9959 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.7916, allocations: 23.98 kB / 0.9959 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.7916, allocations: 7.984 kB / 0.9959 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.7917, allocations: 12 kB / 0.9959 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.231e-05/0.7918, allocations: 120.9 kB / 0.996 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.475e-06/0.7918, allocations: 0 / 0.996 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004077/0.7922, allocations: 83.91 kB / 0.9961 GB, free: 6.051 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007276/0.7929, allocations: 0.8281 MB / 0.9969 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.7932, allocations: 123.8 kB / 0.997 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7932, allocations: 0 / 0.997 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.7932, allocations: 43.92 kB / 0.9971 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.7938, allocations: 58.16 kB / 0.9971 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.7953, allocations: 1.004 MB / 0.9981 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.7957, allocations: 0.7133 MB / 0.9988 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.7959, allocations: 45.77 kB / 0.9989 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.796, allocations: 51.41 kB / 0.9989 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.796, allocations: 0 / 0.9989 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.8129, allocations: 4.774 MB / 1.004 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.8131, allocations: 178.7 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.731, allocations: 0 / 1.004 GB, free: 14.18 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat