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.72/2.72, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001602/0.001602, allocations: 186.2 kB / 370.8 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.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001301/0.001301, allocations: 101.7 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005015, allocations: 14.62 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01729/0.2448, allocations: 11.14 MB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.2479, allocations: 2.128 MB / 0.9912 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.2481, allocations: 0 / 0.9912 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.2484, allocations: 39.78 kB / 0.9913 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2487, allocations: 83.7 kB / 0.9914 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.2504, allocations: 424.4 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2507, allocations: 144.7 kB / 0.9919 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.2507, allocations: 5.562 kB / 0.9919 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.2644, allocations: 4.293 MB / 0.9961 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2646, allocations: 75.73 kB / 0.9962 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.2647, allocations: 8 kB / 0.9962 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.268, allocations: 0.9821 MB / 0.9971 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.2681, allocations: 31.91 kB / 0.9972 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.2682, allocations: 53.64 kB / 0.9972 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.2689, allocations: 219.5 kB / 0.9974 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2689, allocations: 0 / 0.9974 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2689, allocations: 0 / 0.9974 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2689, allocations: 0 / 0.9974 GB, free: 8.656 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.0007806/0.2697, allocations: 475 kB / 0.9979 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2698, allocations: 16.02 kB / 0.9979 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.2698, allocations: 46.55 kB / 0.9979 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.27, allocations: 27.8 kB / 0.998 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2703, allocations: 214.8 kB / 0.9982 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2703, allocations: 12.33 kB / 0.9982 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.2704, allocations: 16 kB / 0.9982 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.2708, allocations: 247.9 kB / 0.9984 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2708, allocations: 7.953 kB / 0.9984 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.2709, allocations: 4 kB / 0.9984 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.2709, allocations: 8 kB / 0.9985 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.2716, allocations: 423.5 kB / 0.9989 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.273, allocations: 1.003 MB / 0.9998 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.2735, allocations: 160.3 kB / 1 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.275, allocations: 1.852 MB / 1.002 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.275, allocations: 38.5 kB / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.093e-06/0.275, allocations: 0 / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004444/0.2755, allocations: 137.5 kB / 1.002 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.2755, allocations: 59.28 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2757, allocations: 176.8 kB / 1.002 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2757, allocations: 33.69 kB / 1.002 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.2758, allocations: 139.8 kB / 1.002 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2759, allocations: 47.3 kB / 1.002 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.2759, allocations: 8 kB / 1.002 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.276, allocations: 326.8 kB / 1.003 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.2761, allocations: 35.97 kB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2762, allocations: 138.2 kB / 1.003 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2764, allocations: 62.17 kB / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2764, allocations: 0 / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004554/0.2769, allocations: 209.1 kB / 1.003 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2769, allocations: 8 kB / 1.003 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2769, allocations: 4 kB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.277, allocations: 4.469 kB / 1.003 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.2774, allocations: 71.84 kB / 1.003 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2774, allocations: 8 kB / 1.003 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.2776, allocations: 27.69 kB / 1.003 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2777, allocations: 12 kB / 1.003 GB, free: 1.984 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.0001439/0.2778, allocations: 137.7 kB / 1.003 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.2779, allocations: 19.81 kB / 1.003 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.2784, allocations: 154.9 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.2784, allocations: 11.98 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2784, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2784, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.2788, allocations: 213.5 kB / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2788, allocations: 0 / 1.004 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.279, allocations: 31.98 kB / 1.004 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.279, allocations: 0 / 1.004 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.279, allocations: 7.984 kB / 1.004 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2791, allocations: 3.984 kB / 1.004 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2791, allocations: 3.938 kB / 1.004 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2794, allocations: 220.5 kB / 1.004 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2795, allocations: 124.8 kB / 1.004 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.2796, allocations: 4 kB / 1.004 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.2799, allocations: 11.98 kB / 1.004 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.28, allocations: 7.984 kB / 1.004 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.28, allocations: 19.92 kB / 1.004 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.654e-05/0.2801, allocations: 116.2 kB / 1.004 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2801, allocations: 8 kB / 1.004 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005501/0.2807, allocations: 72 kB / 1.004 GB, free: 0.7461 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.0008346/0.2815, allocations: 0.8263 MB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.282, allocations: 122.4 kB / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.282, allocations: 0 / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2821, allocations: 44.86 kB / 1.005 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.2828, allocations: 47.95 kB / 1.005 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.2861, allocations: 3.264 MB / 1.009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.2865, allocations: 0.7169 MB / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003635/0.2869, allocations: 49.73 kB / 1.009 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.287, allocations: 47.41 kB / 1.009 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.287, allocations: 0 / 1.009 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.3197, allocations: 4.917 MB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.3201, allocations: 204.1 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/2.916, allocations: 0 / 1.014 GB, free: 6.469 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)