Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.02 kB / 0.6718 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2819, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01582/0.2978, allocations: 12.95 MB / 0.7963 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.3009, allocations: 2.644 MB / 0.7989 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3011, allocations: 3.938 kB / 0.7989 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3014, allocations: 43.73 kB / 0.7989 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3018, allocations: 99.36 kB / 0.799 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3032, allocations: 493.7 kB / 0.7995 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.3034, allocations: 228 kB / 0.7997 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.3035, allocations: 17.55 kB / 0.7997 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008708/0.3122, allocations: 3.58 MB / 0.8032 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.3125, allocations: 83.66 kB / 0.8033 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.3126, allocations: 8 kB / 0.8033 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.3155, allocations: 1.049 MB / 0.8043 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.3156, allocations: 39.89 kB / 0.8043 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3157, allocations: 79.66 kB / 0.8044 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.3165, allocations: 363 kB / 0.8048 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3165, allocations: 0 / 0.8048 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3165, allocations: 0 / 0.8048 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3166, allocations: 0 / 0.8048 GB, free: 7.5 MB / 0.6231 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.0007212/0.3173, allocations: 0.4914 MB / 0.8052 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3173, allocations: 8.031 kB / 0.8053 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.3174, allocations: 58.72 kB / 0.8053 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.3176, allocations: 24.75 kB / 0.8053 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3179, allocations: 216.1 kB / 0.8055 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3179, allocations: 12.7 kB / 0.8056 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.318, allocations: 12.38 kB / 0.8056 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.3184, allocations: 251.9 kB / 0.8058 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3184, allocations: 0 / 0.8058 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3184, allocations: 8 kB / 0.8058 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.3185, allocations: 8 kB / 0.8058 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.319, allocations: 427.5 kB / 0.8062 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3202, allocations: 0.9604 MB / 0.8072 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3204, allocations: 162.3 kB / 0.8073 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3206, allocations: 64.81 kB / 0.8074 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.322, allocations: 1.84 MB / 0.8092 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.322, allocations: 34.56 kB / 0.8092 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.624e-06/0.322, allocations: 0 / 0.8092 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003718/0.3224, allocations: 156.5 kB / 0.8094 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3225, allocations: 51.41 kB / 0.8094 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3226, allocations: 161.7 kB / 0.8096 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3227, allocations: 29.7 kB / 0.8096 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.3228, allocations: 147.8 kB / 0.8097 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3228, allocations: 59.2 kB / 0.8098 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.3229, allocations: 45.7 kB / 0.8098 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.323, allocations: 322.8 kB / 0.8101 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.3231, allocations: 35.98 kB / 0.8102 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3232, allocations: 149.6 kB / 0.8103 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3234, allocations: 189.5 kB / 0.8105 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3235, allocations: 0 / 0.8105 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003187/0.3238, allocations: 221.3 kB / 0.8107 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3238, allocations: 8 kB / 0.8107 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3238, allocations: 4 kB / 0.8107 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3238, allocations: 7.938 kB / 0.8107 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.324, allocations: 51.86 kB / 0.8108 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.324, allocations: 4 kB / 0.8108 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3241, allocations: 27.69 kB / 0.8108 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.3242, allocations: 19.98 kB / 0.8108 GB, free: 0.5547 MB / 0.6231 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.0001/0.3243, allocations: 130 kB / 0.811 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.3243, allocations: 19.75 kB / 0.811 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.3247, allocations: 162.2 kB / 0.8111 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3247, allocations: 3.938 kB / 0.8111 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3247, allocations: 8 kB / 0.8111 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3247, allocations: 3.984 kB / 0.8111 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.325, allocations: 213.5 kB / 0.8113 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.325, allocations: 0 / 0.8113 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.3251, allocations: 27.98 kB / 0.8114 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3251, allocations: 0 / 0.8114 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3251, allocations: 4 kB / 0.8114 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3251, allocations: 3.938 kB / 0.8114 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3251, allocations: 4 kB / 0.8114 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3254, allocations: 223.2 kB / 0.8116 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3255, allocations: 108.9 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3255, allocations: 0 / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3257, allocations: 15.92 kB / 0.8117 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3257, allocations: 15.98 kB / 0.8117 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3258, allocations: 8 kB / 0.8117 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.3259, allocations: 117.8 kB / 0.8118 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3259, allocations: 0 / 0.8118 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004239/0.3263, allocations: 87.91 kB / 0.8119 GB, free: 15.33 MB / 0.6387 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.0007207/0.327, allocations: 0.8331 MB / 0.8127 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3273, allocations: 119.6 kB / 0.8129 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3273, allocations: 4.062 kB / 0.8129 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3274, allocations: 51.86 kB / 0.8129 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3278, allocations: 54.55 kB / 0.813 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3303, allocations: 2.031 MB / 0.8149 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3307, allocations: 0.7128 MB / 0.8156 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.3309, allocations: 53.69 kB / 0.8157 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.331, allocations: 43.42 kB / 0.8157 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.331, allocations: 0 / 0.8157 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.355, allocations: 5.386 MB / 0.821 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.241, allocations: 10.27 kB / 0.821 GB, free: 5.965 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)