Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",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 2.215/2.215, allocations: 252 MB / 267.3 MB, free: 10.85 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.001445/0.001445, allocations: 181 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.764/2.764, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.001201/0.001201, allocations: 78.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005653, allocations: 11.95 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2902, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005659/0.2959, allocations: 4.368 MB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2991, allocations: 2.652 MB / 0.9078 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2994, allocations: 0 / 0.9078 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.2999, allocations: 39.8 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.3003, allocations: 91.42 kB / 0.9079 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.3019, allocations: 425 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.3023, allocations: 291.9 kB / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.275e-05/0.3024, allocations: 9.562 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.3027, allocations: 115.5 kB / 0.9087 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3029, allocations: 87.66 kB / 0.9088 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3029, allocations: 8 kB / 0.9088 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009247/0.3038, allocations: 351.2 kB / 0.9091 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.304, allocations: 35.89 kB / 0.9092 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3041, allocations: 105.3 kB / 0.9093 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.3049, allocations: 343.3 kB / 0.9096 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.305, allocations: 3.938 kB / 0.9096 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/0.305, allocations: 0 / 0.9096 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.305, allocations: 0 / 0.9096 GB, free: 54.5 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.0008538/0.3059, allocations: 471.4 kB / 0.91 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.3059, allocations: 8.031 kB / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.306, allocations: 50.73 kB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3062, allocations: 24.73 kB / 0.9101 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3064, allocations: 216 kB / 0.9103 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3065, allocations: 12.7 kB / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3065, allocations: 12.38 kB / 0.9103 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.3069, allocations: 253.5 kB / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.307, allocations: 0 / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.307, allocations: 8 kB / 0.9106 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.307, allocations: 7.984 kB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3075, allocations: 439.4 kB / 0.911 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3086, allocations: 0.996 MB / 0.912 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3089, allocations: 155.1 kB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.309, allocations: 68.89 kB / 0.9122 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.3101, allocations: 1.829 MB / 0.914 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3101, allocations: 38.56 kB / 0.914 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.3101, allocations: 0 / 0.914 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003342/0.3105, allocations: 141.4 kB / 0.9142 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.3105, allocations: 59.41 kB / 0.9142 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3107, allocations: 166.1 kB / 0.9144 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3107, allocations: 25.7 kB / 0.9144 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3108, allocations: 147.8 kB / 0.9145 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3108, allocations: 51.2 kB / 0.9146 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.3108, allocations: 4 kB / 0.9146 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.3109, allocations: 326.8 kB / 0.9149 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.311, allocations: 43.91 kB / 0.9149 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3111, allocations: 129.7 kB / 0.9151 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.3113, allocations: 202.5 kB / 0.9153 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3113, allocations: 0 / 0.9153 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/0.3117, allocations: 222.8 kB / 0.9155 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3117, allocations: 8 kB / 0.9155 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3117, allocations: 0 / 0.9155 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.66e-05/0.3118, allocations: 11.94 kB / 0.9155 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.312, allocations: 56.38 kB / 0.9156 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.312, allocations: 8 kB / 0.9156 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3122, allocations: 31.69 kB / 0.9156 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.3122, allocations: 15.94 kB / 0.9156 GB, free: 47.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.3123, allocations: 138.2 kB / 0.9157 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.3123, allocations: 15.91 kB / 0.9158 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.3126, allocations: 154.9 kB / 0.9159 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3127, allocations: 11.94 kB / 0.9159 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3127, allocations: 0 / 0.9159 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3127, allocations: 0 / 0.9159 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3129, allocations: 213.5 kB / 0.9161 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3129, allocations: 0 / 0.9161 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.313, allocations: 27.92 kB / 0.9161 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.313, allocations: 0 / 0.9161 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.313, allocations: 4 kB / 0.9161 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3131, allocations: 11.92 kB / 0.9162 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3131, allocations: 0 / 0.9162 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3133, allocations: 218 kB / 0.9164 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.3134, allocations: 108.8 kB / 0.9165 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3134, allocations: 3.984 kB / 0.9165 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3136, allocations: 19.92 kB / 0.9165 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.3137, allocations: 7.984 kB / 0.9165 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3137, allocations: 11.94 kB / 0.9165 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.594e-05/0.3138, allocations: 120.9 kB / 0.9166 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3138, allocations: 0 / 0.9166 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004136/0.3142, allocations: 75.98 kB / 0.9167 GB, free: 46.38 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 (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.0007969/0.315, allocations: 0.8216 MB / 0.9175 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.3153, allocations: 118.7 kB / 0.9176 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3153, allocations: 7.938 kB / 0.9176 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.3154, allocations: 43.92 kB / 0.9177 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3159, allocations: 56.83 kB / 0.9177 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.318, allocations: 2.115 MB / 0.9198 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3182, allocations: 0.7168 MB / 0.9205 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.3184, allocations: 41.77 kB / 0.9205 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.3185, allocations: 47.42 kB / 0.9206 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.3185, allocations: 0 / 0.9206 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3355, allocations: 4.817 MB / 0.9253 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.3358, allocations: 194.6 kB / 0.9255 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.679, allocations: 0 / 0.9255 GB, free: 37.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)