Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.001174/0.001174, 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.001428/0.001428, allocations: 177.3 kB / 15.94 MB, free: 228 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.624/3.624, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8574, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01597/0.8734, allocations: 11.16 MB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.8762, allocations: 2.144 MB / 0.9939 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.8763, allocations: 4 kB / 0.9939 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.8766, allocations: 31.88 kB / 0.9939 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.8769, allocations: 83.73 kB / 0.994 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.8782, allocations: 432.4 kB / 0.9944 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.8784, allocations: 156.7 kB / 0.9945 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.8785, allocations: 13.5 kB / 0.9945 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.8889, allocations: 4.3 MB / 0.9987 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.8891, allocations: 71.75 kB / 0.9988 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.8892, allocations: 4 kB / 0.9988 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.8922, allocations: 1.011 MB / 0.9998 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.8923, allocations: 35.89 kB / 0.9998 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.8924, allocations: 53.64 kB / 0.9999 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.8929, allocations: 219.5 kB / 1 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8929, allocations: 0 / 1 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8929, allocations: 0 / 1 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8929, allocations: 0 / 1 GB, free: 2.551 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.000892/0.8938, allocations: 467.2 kB / 1.001 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.8939, allocations: 8.031 kB / 1.001 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.611e-05/0.894, allocations: 62.55 kB / 1.001 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.8941, allocations: 23.8 kB / 1.001 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.8944, allocations: 218.8 kB / 1.001 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.8945, allocations: 8.328 kB / 1.001 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.8946, allocations: 19.98 kB / 1.001 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.895, allocations: 236.1 kB / 1.001 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.895, allocations: 0 / 1.001 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.8951, allocations: 16 kB / 1.001 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.8951, allocations: 8 kB / 1.001 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.8956, allocations: 431.3 kB / 1.002 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.8969, allocations: 1.015 MB / 1.003 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.8972, allocations: 158 kB / 1.003 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.8987, allocations: 1.848 MB / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.8988, allocations: 42.55 kB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 3.367e-06/0.8988, allocations: 0 / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0003484/0.8992, allocations: 146.8 kB / 1.005 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8992, allocations: 55.36 kB / 1.005 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.8994, allocations: 159.4 kB / 1.005 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.8994, allocations: 33.69 kB / 1.005 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.8995, allocations: 151.7 kB / 1.005 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.8996, allocations: 55.2 kB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.8996, allocations: 4 kB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8998, allocations: 322.8 kB / 1.005 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.8998, allocations: 35.97 kB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.9, allocations: 133.7 kB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.9001, allocations: 60.91 kB / 1.006 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9001, allocations: 3.938 kB / 1.006 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.9004, allocations: 214.2 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.9005, allocations: 9.562 kB / 1.006 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.9005, allocations: 4 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9005, allocations: 4 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.9007, allocations: 63.91 kB / 1.006 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.9007, allocations: 7.953 kB / 1.006 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.9008, allocations: 32.06 kB / 1.006 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.9009, allocations: 19.98 kB / 1.006 GB, free: 11.86 MB / 0.7637 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.000126/0.901, allocations: 125.8 kB / 1.006 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.901, allocations: 15.91 kB / 1.006 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.9014, allocations: 161.1 kB / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.9014, allocations: 0 / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9014, allocations: 0 / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9014, allocations: 7.953 kB / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.9017, allocations: 217.4 kB / 1.006 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9017, allocations: 4 kB / 1.006 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.9018, allocations: 35.92 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9018, allocations: 0 / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.9019, allocations: 3.984 kB / 1.007 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9019, allocations: 0 / 1.007 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9019, allocations: 4 kB / 1.007 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.9021, allocations: 215.3 kB / 1.007 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.9023, allocations: 124.9 kB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.9023, allocations: 4 kB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.9025, allocations: 19.98 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.9025, allocations: 15.97 kB / 1.007 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.9026, allocations: 8 kB / 1.007 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001057/0.9027, allocations: 128.8 kB / 1.007 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9027, allocations: 3.938 kB / 1.007 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004285/0.9031, allocations: 79.94 kB / 1.007 GB, free: 10.61 MB / 0.7637 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.00075/0.9039, allocations: 0.8234 MB / 1.008 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.9041, allocations: 111.8 kB / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9041, allocations: 0 / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.9042, allocations: 43.92 kB / 1.008 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.9046, allocations: 56.83 kB / 1.008 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.9071, allocations: 3.28 MB / 1.011 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.9075, allocations: 0.7172 MB / 1.012 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.9077, allocations: 49.73 kB / 1.012 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.9078, allocations: 47.42 kB / 1.012 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of SimCode: time 3.61e-07/0.9078, allocations: 0 / 1.012 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.9248, allocations: 4.977 MB / 1.017 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.9251, allocations: 202.3 kB / 1.017 GB, free: 300 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.819, allocations: 0 / 1.017 GB, free: 300 kB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat