Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_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.001278/0.001278, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 187.2 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.574 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 1.791/1.791, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001689/0.001689, allocations: 71.7 kB / 0.6717 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2643, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.009006/0.2734, allocations: 4.711 MB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.2763, allocations: 2.675 MB / 0.7908 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2765, allocations: 4 kB / 0.7908 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.277, allocations: 43.67 kB / 0.7909 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.2775, allocations: 99.36 kB / 0.791 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2789, allocations: 482.1 kB / 0.7914 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.2793, allocations: 231.9 kB / 0.7916 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.2793, allocations: 17.55 kB / 0.7917 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2796, allocations: 115.6 kB / 0.7918 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2797, allocations: 87.61 kB / 0.7919 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.2798, allocations: 8 kB / 0.7919 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007467/0.2805, allocations: 351.4 kB / 0.7922 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.2806, allocations: 39.83 kB / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2807, allocations: 75.67 kB / 0.7923 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.2814, allocations: 347.4 kB / 0.7926 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2814, allocations: 3.984 kB / 0.7926 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2814, allocations: 0 / 0.7926 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.2814, allocations: 4 kB / 0.7926 GB, free: 3.984 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.0007718/0.2822, allocations: 499.2 kB / 0.7931 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.2823, allocations: 12.03 kB / 0.7931 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.2823, allocations: 54.72 kB / 0.7932 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.2825, allocations: 24.75 kB / 0.7932 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2828, allocations: 212.1 kB / 0.7934 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2828, allocations: 12.7 kB / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.2828, allocations: 20.38 kB / 0.7934 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2832, allocations: 247.9 kB / 0.7937 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2832, allocations: 0 / 0.7937 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2833, allocations: 12 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2833, allocations: 11.98 kB / 0.7937 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.2838, allocations: 423.5 kB / 0.7941 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2851, allocations: 0.9487 MB / 0.795 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2853, allocations: 161.7 kB / 0.7952 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2855, allocations: 68.88 kB / 0.7953 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.2869, allocations: 1.821 MB / 0.797 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2869, allocations: 42.5 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2869, allocations: 0 / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003755/0.2873, allocations: 149.4 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2874, allocations: 51.41 kB / 0.7973 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.2876, allocations: 164.4 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2876, allocations: 29.7 kB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/0.2877, allocations: 147.7 kB / 0.7976 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.2877, allocations: 55.19 kB / 0.7976 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.2878, allocations: 49.7 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.288, allocations: 322.8 kB / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.288, allocations: 43.97 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2882, allocations: 145.6 kB / 0.7982 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2885, allocations: 204.8 kB / 0.7984 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2885, allocations: 4 kB / 0.7984 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003883/0.2889, allocations: 217 kB / 0.7986 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2889, allocations: 4 kB / 0.7986 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2889, allocations: 4 kB / 0.7986 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.289, allocations: 12.41 kB / 0.7986 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2891, allocations: 51.92 kB / 0.7987 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2892, allocations: 11.97 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2893, allocations: 27.69 kB / 0.7987 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2893, allocations: 16 kB / 0.7987 GB, free: 13.04 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.2894, allocations: 125.8 kB / 0.7988 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.2895, allocations: 15.81 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.2898, allocations: 159 kB / 0.799 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2898, allocations: 3.938 kB / 0.799 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2899, allocations: 4 kB / 0.799 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2899, allocations: 0 / 0.799 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2901, allocations: 217.4 kB / 0.7992 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2901, allocations: 4 kB / 0.7992 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.2902, allocations: 27.92 kB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2902, allocations: 4 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2902, allocations: 0 / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2903, allocations: 11.88 kB / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2903, allocations: 0 / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2905, allocations: 226.8 kB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2906, allocations: 104.9 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2907, allocations: 4 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2909, allocations: 11.92 kB / 0.7996 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.2909, allocations: 15.98 kB / 0.7996 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2909, allocations: 4 kB / 0.7996 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.291, allocations: 122.1 kB / 0.7997 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/0.291, allocations: 3.938 kB / 0.7997 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004598/0.2915, allocations: 83.92 kB / 0.7998 GB, free: 11.82 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008096/0.2923, allocations: 0.8293 MB / 0.8006 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2926, allocations: 111.8 kB / 0.8007 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2926, allocations: 0 / 0.8007 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.2926, allocations: 47.86 kB / 0.8008 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.2932, allocations: 63.42 kB / 0.8008 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.2962, allocations: 2.034 MB / 0.8028 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2966, allocations: 0.7128 MB / 0.8035 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.2969, allocations: 49.8 kB / 0.8036 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.297, allocations: 47.42 kB / 0.8036 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.297, allocations: 0 / 0.8036 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3216, allocations: 5.138 MB / 0.8086 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.279, allocations: 19.02 kB / 0.8086 GB, free: 2.648 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)