Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.705/2.705, allocations: 287.3 MB / 302.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 193.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.1 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007022/0.0007024, allocations: 11.56 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2911, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007638/0.2988, allocations: 3.928 MB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005021/0.3039, allocations: 2.148 MB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.3042, allocations: 0 / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.3046, allocations: 35.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.305, allocations: 83.75 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.3073, allocations: 406.3 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.3077, allocations: 144.7 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.3078, allocations: 9.562 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.3081, allocations: 107.6 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3083, allocations: 79.73 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.3084, allocations: 4 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.3098, allocations: 275.5 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.31, allocations: 35.89 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3101, allocations: 53.64 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.311, allocations: 211.7 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.311, allocations: 0 / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.311, allocations: 0 / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.311, allocations: 0 / 0.9856 GB, free: 20.79 MB / 0.6198 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.0009724/0.312, allocations: 483 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.3121, allocations: 12.02 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.3122, allocations: 46.55 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.3124, allocations: 23.89 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3128, allocations: 214.7 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3128, allocations: 8.328 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3129, allocations: 16 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.3135, allocations: 248 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3136, allocations: 3.984 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.3136, allocations: 7.953 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.3137, allocations: 8 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.3145, allocations: 423.5 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.316, allocations: 0.9838 MB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.3165, allocations: 156.4 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.318, allocations: 1.844 MB / 0.9899 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3181, allocations: 38.5 kB / 0.99 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.335e-06/0.3181, allocations: 0 / 0.99 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.00045/0.3186, allocations: 143 kB / 0.9901 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3186, allocations: 51.41 kB / 0.9901 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3188, allocations: 168.3 kB / 0.9903 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3188, allocations: 33.69 kB / 0.9903 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3189, allocations: 139.8 kB / 0.9905 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3189, allocations: 55.19 kB / 0.9905 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.319, allocations: 8 kB / 0.9905 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.319, allocations: 322.8 kB / 0.9908 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.3191, allocations: 31.98 kB / 0.9909 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3193, allocations: 142.1 kB / 0.991 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3195, allocations: 55.94 kB / 0.9911 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3195, allocations: 3.953 kB / 0.9911 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004546/0.3199, allocations: 214.8 kB / 0.9913 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.32, allocations: 9.875 kB / 0.9913 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.32, allocations: 4 kB / 0.9913 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.32, allocations: 7.938 kB / 0.9913 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.3204, allocations: 60.38 kB / 0.9913 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3204, allocations: 19.92 kB / 0.9914 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3206, allocations: 31.67 kB / 0.9914 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3207, allocations: 12 kB / 0.9914 GB, free: 14.14 MB / 0.6198 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.0001268/0.3208, allocations: 129.7 kB / 0.9915 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.3209, allocations: 23.84 kB / 0.9916 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.3213, allocations: 158.9 kB / 0.9917 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.3213, allocations: 0 / 0.9917 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3214, allocations: 4 kB / 0.9917 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3214, allocations: 3.984 kB / 0.9917 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3217, allocations: 209.5 kB / 0.9919 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3217, allocations: 0 / 0.9919 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.3219, allocations: 39.88 kB / 0.9919 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3219, allocations: 0 / 0.9919 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.322, allocations: 11.97 kB / 0.992 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.322, allocations: 0 / 0.992 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.322, allocations: 0 / 0.992 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.3223, allocations: 217.1 kB / 0.9922 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3224, allocations: 116.9 kB / 0.9923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3225, allocations: 7.953 kB / 0.9923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.3228, allocations: 7.984 kB / 0.9923 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3229, allocations: 15.92 kB / 0.9923 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.3229, allocations: 8 kB / 0.9923 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001083/0.323, allocations: 120.9 kB / 0.9924 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.323, allocations: 4 kB / 0.9924 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005483/0.3236, allocations: 79.92 kB / 0.9925 GB, free: 12.91 MB / 0.6198 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.0007345/0.3244, allocations: 0.8109 MB / 0.9933 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.3247, allocations: 114.8 kB / 0.9934 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3247, allocations: 4 kB / 0.9934 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.3248, allocations: 43.91 kB / 0.9935 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.3255, allocations: 60.72 kB / 0.9935 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3277, allocations: 3.252 MB / 0.9967 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.328, allocations: 0.7247 MB / 0.9974 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003128/0.3283, allocations: 49.8 kB / 0.9974 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.3284, allocations: 47.42 kB / 0.9975 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of SimCode: time 1.343e-06/0.3284, allocations: 0 / 0.9975 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.354, allocations: 4.675 MB / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/0.3544, allocations: 182.8 kB / 1.002 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/2.955, allocations: 0 / 1.002 GB, free: 2.859 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)