Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.002022/0.002021, allocations: 174.1 kB / 371 MB, free: 10.86 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.309/2.309, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009441/0.0009437, allocations: 92.53 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 12.38 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2473, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01657/0.2639, allocations: 12 MB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.267, allocations: 2.428 MB / 0.9925 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2672, allocations: 0 / 0.9925 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.2675, allocations: 43.73 kB / 0.9926 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.2678, allocations: 83.48 kB / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.2696, allocations: 393.2 kB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.2699, allocations: 255.9 kB / 0.9933 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.27, allocations: 9.562 kB / 0.9933 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01644/0.2865, allocations: 4.376 MB / 0.9976 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.2868, allocations: 91.64 kB / 0.9976 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.2869, allocations: 8 kB / 0.9977 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00455/0.2915, allocations: 0.9184 MB / 0.9985 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2916, allocations: 35.89 kB / 0.9986 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.2917, allocations: 57.64 kB / 0.9986 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.2924, allocations: 219.4 kB / 0.9988 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2924, allocations: 0 / 0.9988 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2925, allocations: 0 / 0.9988 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2925, allocations: 4 kB / 0.9989 GB, free: 7.328 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.0009527/0.2934, allocations: 475.1 kB / 0.9993 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2935, allocations: 12.02 kB / 0.9993 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.2936, allocations: 46.55 kB / 0.9994 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.2939, allocations: 23.81 kB / 0.9994 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.2943, allocations: 218.8 kB / 0.9996 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2944, allocations: 12.33 kB / 0.9996 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.2944, allocations: 19.94 kB / 0.9996 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.2951, allocations: 244 kB / 0.9999 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2952, allocations: 3.953 kB / 0.9999 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.2952, allocations: 12 kB / 0.9999 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.2953, allocations: 4 kB / 0.9999 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2963, allocations: 423.5 kB / 1 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2982, allocations: 0.9604 MB / 1.001 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2988, allocations: 163 kB / 1.001 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.299, allocations: 60.88 kB / 1.001 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.301, allocations: 1.833 MB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3011, allocations: 38.55 kB / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.126e-06/0.3011, allocations: 0 / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006566/0.3017, allocations: 149.4 kB / 1.003 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3018, allocations: 51.41 kB / 1.003 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.302, allocations: 164.9 kB / 1.004 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3021, allocations: 33.7 kB / 1.004 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3022, allocations: 139.8 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.3023, allocations: 51.27 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.3023, allocations: 8 kB / 1.004 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.3024, allocations: 326.8 kB / 1.004 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3026, allocations: 39.98 kB / 1.004 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3029, allocations: 142.1 kB / 1.004 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3031, allocations: 59.94 kB / 1.004 GB, free: 1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3031, allocations: 0 / 1.004 GB, free: 1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006266/0.3038, allocations: 210.3 kB / 1.005 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3038, allocations: 8.469 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3038, allocations: 8 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.3039, allocations: 4 kB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.3043, allocations: 59.91 kB / 1.005 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3043, allocations: 8 kB / 1.005 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.3047, allocations: 27.69 kB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.3047, allocations: 15.94 kB / 1.005 GB, free: 0.6602 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.0001677/0.3049, allocations: 137.7 kB / 1.005 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.305, allocations: 15.81 kB / 1.005 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.3056, allocations: 156.3 kB / 1.005 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.3056, allocations: 4 kB / 1.005 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3057, allocations: 3.938 kB / 1.005 GB, free: 344 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3057, allocations: 3.984 kB / 1.005 GB, free: 340 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.3061, allocations: 221.4 kB / 1.005 GB, free: 68 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3062, allocations: 0 / 1.005 GB, free: 68 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3064, allocations: 27.92 kB / 1.005 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.3064, allocations: 0 / 1.005 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.3065, allocations: 8 kB / 1.005 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3065, allocations: 0 / 1.005 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3065, allocations: 4 kB / 1.005 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.3071, allocations: 211.3 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3073, allocations: 112.9 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.3074, allocations: 4 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.3079, allocations: 11.98 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3079, allocations: 7.984 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.308, allocations: 12 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3082, allocations: 124.2 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3082, allocations: 3.938 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000946/0.3091, allocations: 79.92 kB / 1.006 GB, free: 15.44 MB / 0.6355 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.001413/0.3106, allocations: 0.827 MB / 1.007 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.3111, allocations: 109.5 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3111, allocations: 4.938 kB / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3113, allocations: 43.92 kB / 1.007 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3124, allocations: 47.97 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.3157, allocations: 1.015 MB / 1.008 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.3162, allocations: 0.7094 MB / 1.008 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.3167, allocations: 53.73 kB / 1.009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.3169, allocations: 43.42 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.293e-06/0.3169, allocations: 3.938 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.3542, allocations: 4.951 MB / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.3547, allocations: 201.9 kB / 1.014 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.09, allocations: 4.062 kB / 1.014 GB, free: 7.418 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)