Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_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.004628/0.004628, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001096/0.001096, allocations: 197.8 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 289.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 91.86 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4535, allocations: 86.98 MB / 0.766 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01664/0.4702, allocations: 12.96 MB / 0.7786 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.4733, allocations: 2.671 MB / 0.7812 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.4735, allocations: 0 / 0.7812 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.4739, allocations: 43.69 kB / 0.7813 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.4743, allocations: 103.3 kB / 0.7814 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4756, allocations: 0.5001 MB / 0.7819 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.4759, allocations: 228 kB / 0.7821 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.4759, allocations: 13.5 kB / 0.7821 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008414/0.4843, allocations: 3.584 MB / 0.7856 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.4845, allocations: 95.66 kB / 0.7857 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.4846, allocations: 8 kB / 0.7857 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.487, allocations: 1.074 MB / 0.7867 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.4871, allocations: 35.89 kB / 0.7868 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4872, allocations: 79.59 kB / 0.7869 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.488, allocations: 379 kB / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.488, allocations: 0 / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.995e-06/0.488, allocations: 3.984 kB / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.488, allocations: 0 / 0.7872 GB, free: 13.98 MB / 0.5606 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.0007198/0.4887, allocations: 0.4914 MB / 0.7877 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4888, allocations: 8.031 kB / 0.7877 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.4888, allocations: 54.73 kB / 0.7878 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.489, allocations: 20.75 kB / 0.7878 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.4892, allocations: 220 kB / 0.788 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4893, allocations: 20.69 kB / 0.788 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4893, allocations: 12.38 kB / 0.788 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.4897, allocations: 251.9 kB / 0.7883 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4897, allocations: 0 / 0.7883 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.4897, allocations: 8 kB / 0.7883 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.4897, allocations: 4 kB / 0.7883 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.4902, allocations: 435.4 kB / 0.7887 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4913, allocations: 0.9566 MB / 0.7896 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4916, allocations: 169.1 kB / 0.7898 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4917, allocations: 64.88 kB / 0.7898 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.4931, allocations: 1.825 MB / 0.7916 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4931, allocations: 46.55 kB / 0.7917 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.4931, allocations: 3.938 kB / 0.7917 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003373/0.4935, allocations: 148.5 kB / 0.7918 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4935, allocations: 55.34 kB / 0.7919 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4936, allocations: 175 kB / 0.792 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4937, allocations: 29.7 kB / 0.7921 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.4938, allocations: 139.8 kB / 0.7922 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.4938, allocations: 55.28 kB / 0.7922 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.4939, allocations: 57.61 kB / 0.7923 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.494, allocations: 322.8 kB / 0.7926 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.4941, allocations: 35.98 kB / 0.7926 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4942, allocations: 139.5 kB / 0.7928 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.4945, allocations: 197.5 kB / 0.793 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4945, allocations: 3.938 kB / 0.793 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003268/0.4948, allocations: 216.8 kB / 0.7932 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4949, allocations: 12.06 kB / 0.7932 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4949, allocations: 4 kB / 0.7932 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4949, allocations: 7.938 kB / 0.7932 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4951, allocations: 51.92 kB / 0.7932 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4951, allocations: 11.94 kB / 0.7933 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4952, allocations: 27.69 kB / 0.7933 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4952, allocations: 15.98 kB / 0.7933 GB, free: 7.012 MB / 0.5606 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.0001141/0.4954, allocations: 129.8 kB / 0.7934 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.4954, allocations: 11.91 kB / 0.7934 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.4957, allocations: 154.9 kB / 0.7936 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4957, allocations: 7.938 kB / 0.7936 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4958, allocations: 0 / 0.7936 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4958, allocations: 7.922 kB / 0.7936 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.496, allocations: 217.5 kB / 0.7938 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.496, allocations: 0 / 0.7938 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.4961, allocations: 23.98 kB / 0.7938 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4961, allocations: 0 / 0.7938 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4961, allocations: 8 kB / 0.7938 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4962, allocations: 3.938 kB / 0.7938 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4962, allocations: 4 kB / 0.7938 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4964, allocations: 219.3 kB / 0.7941 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4965, allocations: 112.8 kB / 0.7942 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.4965, allocations: 11.92 kB / 0.7942 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4967, allocations: 11.94 kB / 0.7942 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.4968, allocations: 11.98 kB / 0.7942 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4968, allocations: 11.98 kB / 0.7942 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.231e-05/0.4969, allocations: 124 kB / 0.7943 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4969, allocations: 0 / 0.7943 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003937/0.4973, allocations: 75.98 kB / 0.7944 GB, free: 5.785 MB / 0.5606 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.000761/0.4981, allocations: 0.8439 MB / 0.7952 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4983, allocations: 116.4 kB / 0.7953 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4983, allocations: 4.312 kB / 0.7953 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.4984, allocations: 39.98 kB / 0.7954 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4989, allocations: 61.31 kB / 0.7954 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.501, allocations: 2.041 MB / 0.7974 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.5013, allocations: 0.7168 MB / 0.7981 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.5015, allocations: 52.73 kB / 0.7982 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.5016, allocations: 51.3 kB / 0.7982 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5016, allocations: 0 / 0.7982 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.524, allocations: 5.558 MB / 0.8037 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.846, allocations: 14 kB / 0.8037 GB, free: 12.27 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)