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: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 192.5 kB / 16.25 MB, free: 6.625 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.769/1.769, allocations: 292.3 MB / 0.5485 GB, free: 13.61 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.001458/0.001458, allocations: 69.28 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2725, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01753/0.2901, allocations: 13.08 MB / 0.7956 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.2932, allocations: 2.636 MB / 0.7982 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2933, allocations: 4 kB / 0.7982 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.2937, allocations: 35.81 kB / 0.7982 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.2942, allocations: 95.47 kB / 0.7983 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.2957, allocations: 452.5 kB / 0.7988 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.296, allocations: 228 kB / 0.799 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.2961, allocations: 17.55 kB / 0.799 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008463/0.3046, allocations: 3.359 MB / 0.8023 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3048, allocations: 91.66 kB / 0.8024 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3048, allocations: 7.938 kB / 0.8024 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.3077, allocations: 1.022 MB / 0.8034 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.3078, allocations: 39.89 kB / 0.8034 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3079, allocations: 79.64 kB / 0.8035 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.3088, allocations: 363 kB / 0.8038 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3088, allocations: 0 / 0.8038 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3088, allocations: 0 / 0.8038 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3088, allocations: 0 / 0.8038 GB, free: 8.352 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.0009/0.3097, allocations: 0.4915 MB / 0.8043 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3098, allocations: 8.031 kB / 0.8043 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.31, allocations: 36.62 kB / 0.8044 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3102, allocations: 212.1 kB / 0.8046 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3102, allocations: 8.703 kB / 0.8046 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3103, allocations: 16.38 kB / 0.8046 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.3107, allocations: 252.1 kB / 0.8048 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3107, allocations: 0 / 0.8048 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3107, allocations: 8 kB / 0.8048 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.3108, allocations: 11.98 kB / 0.8048 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.3112, allocations: 427.5 kB / 0.8052 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3123, allocations: 0.9643 MB / 0.8062 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3126, allocations: 155.7 kB / 0.8063 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.3127, allocations: 67.67 kB / 0.8064 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.3142, allocations: 1.837 MB / 0.8082 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3143, allocations: 38.56 kB / 0.8082 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3143, allocations: 0 / 0.8082 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003363/0.3146, allocations: 137.5 kB / 0.8084 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3147, allocations: 63.28 kB / 0.8084 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3148, allocations: 171.2 kB / 0.8086 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3149, allocations: 25.7 kB / 0.8086 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.315, allocations: 139.8 kB / 0.8087 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.315, allocations: 59.2 kB / 0.8088 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.3151, allocations: 53.69 kB / 0.8088 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3152, allocations: 326.8 kB / 0.8092 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.3153, allocations: 31.98 kB / 0.8092 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3154, allocations: 137.7 kB / 0.8093 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.3157, allocations: 207.4 kB / 0.8095 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3157, allocations: 0 / 0.8095 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003207/0.316, allocations: 213.3 kB / 0.8097 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3161, allocations: 8 kB / 0.8097 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3161, allocations: 4 kB / 0.8097 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3161, allocations: 4 kB / 0.8097 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3163, allocations: 63.84 kB / 0.8098 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3163, allocations: 7.938 kB / 0.8098 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3164, allocations: 27.69 kB / 0.8098 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3164, allocations: 12 kB / 0.8098 GB, free: 1.457 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.000106/0.3166, allocations: 130 kB / 0.81 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.3166, allocations: 19.8 kB / 0.81 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.3169, allocations: 162 kB / 0.8101 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.317, allocations: 3.938 kB / 0.8101 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.317, allocations: 0 / 0.8101 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.317, allocations: 0 / 0.8101 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3172, allocations: 217.4 kB / 0.8104 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3172, allocations: 3.938 kB / 0.8104 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.3173, allocations: 31.92 kB / 0.8104 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3174, allocations: 8 kB / 0.8104 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3174, allocations: 4 kB / 0.8104 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3174, allocations: 3.938 kB / 0.8104 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3174, allocations: 0 / 0.8104 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3176, allocations: 211.4 kB / 0.8106 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3177, allocations: 116.8 kB / 0.8107 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3177, allocations: 0 / 0.8107 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3179, allocations: 15.94 kB / 0.8107 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.318, allocations: 15.98 kB / 0.8107 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.318, allocations: 11.98 kB / 0.8108 GB, free: 440 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.3181, allocations: 120 kB / 0.8109 GB, free: 320 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 0 / 0.8109 GB, free: 320 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004087/0.3185, allocations: 75.94 kB / 0.8109 GB, free: 244 kB / 0.6231 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.000377/0.3189, allocations: 179.1 kB / 0.8111 GB, free: 56 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3192, allocations: 128.5 kB / 0.8112 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3192, allocations: 0 / 0.8112 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.3192, allocations: 52.03 kB / 0.8113 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.3197, allocations: 51.89 kB / 0.8113 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.3205, allocations: 402 kB / 0.8117 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3208, allocations: 0.7167 MB / 0.8124 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.321, allocations: 53.67 kB / 0.8125 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.321, allocations: 27.44 kB / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/0.321, allocations: 0 / 0.8125 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.007124/0.3282, allocations: 3.587 MB / 0.816 GB, free: 11.04 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)