Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 178.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 6.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01287/0.2548, allocations: 11.17 MB / 0.911 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.257, allocations: 2.117 MB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.2571, allocations: 0 / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.2575, allocations: 39.8 kB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.2578, allocations: 71.83 kB / 0.9132 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2588, allocations: 401.2 kB / 0.9136 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.259, allocations: 148.7 kB / 0.9137 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.2591, allocations: 5.562 kB / 0.9137 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007041/0.2661, allocations: 4.333 MB / 0.918 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2663, allocations: 63.75 kB / 0.918 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.2663, allocations: 8 kB / 0.918 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.2685, allocations: 0.9856 MB / 0.919 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.2685, allocations: 35.89 kB / 0.919 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.2686, allocations: 57.58 kB / 0.9191 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.269, allocations: 211.7 kB / 0.9193 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.269, allocations: 0 / 0.9193 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.269, allocations: 0 / 0.9193 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.269, allocations: 0 / 0.9193 GB, free: 44.21 MB / 0.6042 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.00058/0.2696, allocations: 475.1 kB / 0.9198 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2696, allocations: 12.03 kB / 0.9198 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.2697, allocations: 50.55 kB / 0.9198 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2698, allocations: 19.81 kB / 0.9198 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.27, allocations: 214.9 kB / 0.92 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.27, allocations: 12.33 kB / 0.92 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2701, allocations: 16 kB / 0.9201 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2704, allocations: 241.6 kB / 0.9203 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2704, allocations: 4 kB / 0.9203 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.2704, allocations: 11.95 kB / 0.9203 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2704, allocations: 8 kB / 0.9203 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2708, allocations: 427.5 kB / 0.9207 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.2716, allocations: 1.054 MB / 0.9218 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2719, allocations: 157.9 kB / 0.9219 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/0.2728, allocations: 1.848 MB / 0.9237 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2729, allocations: 34.56 kB / 0.9237 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.2729, allocations: 4 kB / 0.9237 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002779/0.2732, allocations: 139.4 kB / 0.9239 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.2732, allocations: 55.41 kB / 0.9239 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2733, allocations: 170.1 kB / 0.9241 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2733, allocations: 33.7 kB / 0.9241 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.2734, allocations: 139.7 kB / 0.9243 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.2734, allocations: 59.19 kB / 0.9243 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.2735, allocations: 4 kB / 0.9243 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.2735, allocations: 322.8 kB / 0.9246 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.2736, allocations: 31.98 kB / 0.9247 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.2737, allocations: 145.6 kB / 0.9248 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.2738, allocations: 51.95 kB / 0.9248 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2738, allocations: 4 kB / 0.9249 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002498/0.274, allocations: 222.3 kB / 0.9251 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2741, allocations: 8 kB / 0.9251 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2741, allocations: 0 / 0.9251 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2741, allocations: 8 kB / 0.9251 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2743, allocations: 56.38 kB / 0.9251 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2743, allocations: 8 kB / 0.9251 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2744, allocations: 35.67 kB / 0.9252 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2744, allocations: 12 kB / 0.9252 GB, free: 37.5 MB / 0.6042 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 7.933e-05/0.2745, allocations: 137.7 kB / 0.9253 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2745, allocations: 15.81 kB / 0.9253 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.2748, allocations: 151.1 kB / 0.9255 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2748, allocations: 4 kB / 0.9255 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2748, allocations: 8 kB / 0.9255 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2748, allocations: 3.984 kB / 0.9255 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.275, allocations: 213.5 kB / 0.9257 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.275, allocations: 7.938 kB / 0.9257 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2751, allocations: 31.92 kB / 0.9257 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2752, allocations: 0 / 0.9257 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2752, allocations: 3.984 kB / 0.9257 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2752, allocations: 4 kB / 0.9257 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2752, allocations: 0 / 0.9257 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2754, allocations: 229.9 kB / 0.926 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.2754, allocations: 116.8 kB / 0.9261 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2755, allocations: 4 kB / 0.9261 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2756, allocations: 7.984 kB / 0.9261 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.2757, allocations: 15.98 kB / 0.9261 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2757, allocations: 7.984 kB / 0.9261 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.2758, allocations: 120.9 kB / 0.9262 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2758, allocations: 4 kB / 0.9262 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003461/0.2761, allocations: 75.88 kB / 0.9263 GB, free: 36.26 MB / 0.6042 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.0004919/0.2766, allocations: 0.8252 MB / 0.9271 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.2768, allocations: 122.8 kB / 0.9272 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2768, allocations: 0 / 0.9272 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.2769, allocations: 43.86 kB / 0.9273 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2773, allocations: 52.89 kB / 0.9273 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2788, allocations: 3.259 MB / 0.9305 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2789, allocations: 0.7169 MB / 0.9312 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2791, allocations: 49.73 kB / 0.9312 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.2792, allocations: 47.41 kB / 0.9313 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2792, allocations: 3.938 kB / 0.9313 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.2944, allocations: 4.871 MB / 0.936 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.2946, allocations: 204.6 kB / 0.9362 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.008, allocations: 0 / 0.9362 GB, free: 26.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)