Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001063/0.001063, allocations: 180.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0009371/0.000937, allocations: 85.28 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004138, allocations: 10.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2424, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01223/0.2547, allocations: 11.98 MB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.257, allocations: 2.447 MB / 0.9937 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2572, allocations: 0 / 0.9937 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2575, allocations: 39.75 kB / 0.9938 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.2578, allocations: 75.5 kB / 0.9938 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2591, allocations: 397.8 kB / 0.9942 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2594, allocations: 255.9 kB / 0.9945 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.2595, allocations: 13.55 kB / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007726/0.2672, allocations: 4.365 MB / 0.9987 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2674, allocations: 91.66 kB / 0.9988 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2675, allocations: 8 kB / 0.9988 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.27, allocations: 0.9268 MB / 0.9997 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.2701, allocations: 35.89 kB / 0.9998 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.2702, allocations: 57.58 kB / 0.9998 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.2708, allocations: 223.4 kB / 1 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2708, allocations: 0 / 1 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2708, allocations: 0 / 1 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2708, allocations: 0 / 1 GB, free: 6.637 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.0009282/0.2718, allocations: 475 kB / 1 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.2718, allocations: 16.02 kB / 1.001 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.378e-05/0.2719, allocations: 50.55 kB / 1.001 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2721, allocations: 23.81 kB / 1.001 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2723, allocations: 218.8 kB / 1.001 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2724, allocations: 8.328 kB / 1.001 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2724, allocations: 16 kB / 1.001 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.2728, allocations: 251.9 kB / 1.001 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2729, allocations: 0 / 1.001 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2729, allocations: 11.95 kB / 1.001 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.2729, allocations: 8 kB / 1.001 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.2734, allocations: 423.5 kB / 1.001 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2745, allocations: 0.9604 MB / 1.002 GB, free: 4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.2748, allocations: 151.1 kB / 1.003 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.2749, allocations: 64.88 kB / 1.003 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.2761, allocations: 1.829 MB / 1.004 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2762, allocations: 46.48 kB / 1.004 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2762, allocations: 0 / 1.004 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003047/0.2765, allocations: 145.4 kB / 1.005 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2765, allocations: 51.41 kB / 1.005 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2767, allocations: 169.8 kB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.2767, allocations: 33.7 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.2768, allocations: 131.8 kB / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2768, allocations: 55.28 kB / 1.005 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.2768, allocations: 8 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.2769, allocations: 318.8 kB / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.277, allocations: 31.98 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.2771, allocations: 154.1 kB / 1.005 GB, free: 376 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/0.2772, allocations: 66.14 kB / 1.006 GB, free: 312 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2772, allocations: 0 / 1.006 GB, free: 312 kB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000262/0.2775, allocations: 209.1 kB / 1.006 GB, free: 96 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2775, allocations: 11.98 kB / 1.006 GB, free: 84 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2775, allocations: 4.469 kB / 1.006 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2775, allocations: 8 kB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2777, allocations: 51.86 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2777, allocations: 11.94 kB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.2779, allocations: 27.69 kB / 1.006 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.2779, allocations: 19.98 kB / 1.006 GB, free: 15.96 MB / 0.6355 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.0001318/0.278, allocations: 134.6 kB / 1.006 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2781, allocations: 15.81 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.2784, allocations: 159.5 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2784, allocations: 4 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2785, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.2785, allocations: 3.984 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.2787, allocations: 213.5 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2787, allocations: 3.953 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.2788, allocations: 31.92 kB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2788, allocations: 0 / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2789, allocations: 4 kB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2789, allocations: 0 / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2789, allocations: 0 / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.2791, allocations: 220.7 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2792, allocations: 112.9 kB / 1.007 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2793, allocations: 4 kB / 1.007 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2794, allocations: 15.98 kB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.2795, allocations: 11.92 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2795, allocations: 12 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.143e-05/0.2796, allocations: 120.9 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2796, allocations: 0 / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003917/0.28, allocations: 83.83 kB / 1.007 GB, free: 14.74 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.0007099/0.2807, allocations: 0.8197 MB / 1.008 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.281, allocations: 111.8 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.281, allocations: 0.9375 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.2811, allocations: 43.92 kB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.2816, allocations: 58 kB / 1.008 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.2833, allocations: 1.018 MB / 1.009 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2836, allocations: 0.7133 MB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.2838, allocations: 49.73 kB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.2839, allocations: 43.42 kB / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.2839, allocations: 0 / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3019, allocations: 4.962 MB / 1.015 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.3022, allocations: 212.6 kB / 1.015 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.114, allocations: 0 / 1.015 GB, free: 6.711 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)