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.001198/0.001198, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001084/0.001084, allocations: 188.3 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.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.722/1.722, allocations: 292.3 MB / 0.5492 GB, free: 17.48 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.001369/0.00137, allocations: 67.89 kB / 0.6716 GB, free: 6.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2794, allocations: 114.6 MB / 0.7835 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.443/0.7225, allocations: 13.09 MB / 0.7963 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.7248, allocations: 2.635 MB / 0.7989 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.7249, allocations: 0 / 0.7989 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.7252, allocations: 42.14 kB / 0.7989 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.7255, allocations: 92.14 kB / 0.799 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.7265, allocations: 442 kB / 0.7994 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.7267, allocations: 229.8 kB / 0.7996 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.801e-05/0.7268, allocations: 20.16 kB / 0.7996 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00806/0.7349, allocations: 3.356 MB / 0.8029 GB, free: 40.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.7351, allocations: 94.91 kB / 0.803 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.7351, allocations: 7.156 kB / 0.803 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.7379, allocations: 1.013 MB / 0.804 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.738, allocations: 38.31 kB / 0.804 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.7381, allocations: 78.66 kB / 0.8041 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.7386, allocations: 245.5 kB / 0.8044 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7386, allocations: 1.219 kB / 0.8044 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7386, allocations: 0 / 0.8044 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.7387, allocations: 0 / 0.8044 GB, free: 40.07 MB / 0.6544 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.0007279/0.7394, allocations: 0.5026 MB / 0.8048 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7394, allocations: 8.531 kB / 0.8049 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.7397, allocations: 32.33 kB / 0.8049 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.7399, allocations: 213.6 kB / 0.8051 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.7399, allocations: 11.67 kB / 0.8051 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.7399, allocations: 14.19 kB / 0.8051 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.7404, allocations: 250 kB / 0.8053 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7404, allocations: 0 / 0.8053 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.7404, allocations: 13.48 kB / 0.8054 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.7404, allocations: 6.656 kB / 0.8054 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.7411, allocations: 427.8 kB / 0.8058 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.7422, allocations: 0.9616 MB / 0.8067 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.7425, allocations: 159.8 kB / 0.8069 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.7426, allocations: 65.17 kB / 0.8069 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.7437, allocations: 1.829 MB / 0.8087 GB, free: 36.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.7438, allocations: 39.44 kB / 0.8088 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.7438, allocations: 0 / 0.8088 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003768/0.7442, allocations: 148.5 kB / 0.8089 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.7442, allocations: 61.59 kB / 0.809 GB, free: 36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.7444, allocations: 167.5 kB / 0.8091 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.7444, allocations: 27.7 kB / 0.8091 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.7445, allocations: 145 kB / 0.8093 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7445, allocations: 50.83 kB / 0.8093 GB, free: 35.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.7446, allocations: 54.83 kB / 0.8094 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.7447, allocations: 322.9 kB / 0.8097 GB, free: 35.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.7448, allocations: 38.8 kB / 0.8097 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.7449, allocations: 144.4 kB / 0.8099 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.7451, allocations: 199.4 kB / 0.8101 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7451, allocations: 0.9375 kB / 0.8101 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003628/0.7455, allocations: 213.8 kB / 0.8103 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7455, allocations: 8 kB / 0.8103 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7455, allocations: 3.594 kB / 0.8103 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7456, allocations: 5.656 kB / 0.8103 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.7458, allocations: 51.33 kB / 0.8103 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.7458, allocations: 13.97 kB / 0.8103 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.7459, allocations: 25.75 kB / 0.8104 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.746, allocations: 19.64 kB / 0.8104 GB, free: 34.85 MB / 0.6544 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.0001041/0.7461, allocations: 143.3 kB / 0.8105 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.7461, allocations: 18.25 kB / 0.8105 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.7465, allocations: 155.8 kB / 0.8107 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7465, allocations: 2.156 kB / 0.8107 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7465, allocations: 4.5 kB / 0.8107 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.7465, allocations: 1.312 kB / 0.8107 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.7467, allocations: 214.2 kB / 0.8109 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7467, allocations: 0.6562 kB / 0.8109 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.7468, allocations: 33.61 kB / 0.8109 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7469, allocations: 1.094 kB / 0.8109 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7469, allocations: 2.281 kB / 0.8109 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7469, allocations: 1.453 kB / 0.8109 GB, free: 34.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7469, allocations: 3.938 kB / 0.8109 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.7472, allocations: 217.3 kB / 0.8111 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.7472, allocations: 115.2 kB / 0.8113 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.7473, allocations: 6.172 kB / 0.8113 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.7475, allocations: 11.89 kB / 0.8113 GB, free: 34.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.7475, allocations: 16.3 kB / 0.8113 GB, free: 34.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.7475, allocations: 12.44 kB / 0.8113 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.7476, allocations: 116.4 kB / 0.8114 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7476, allocations: 2.25 kB / 0.8114 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004309/0.7481, allocations: 74.55 kB / 0.8115 GB, free: 34 MB / 0.6544 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.000436/0.7485, allocations: 189.4 kB / 0.8117 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.7488, allocations: 119.3 kB / 0.8118 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7488, allocations: 4.906 kB / 0.8118 GB, free: 33.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.7489, allocations: 48.08 kB / 0.8118 GB, free: 33.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.7494, allocations: 53.33 kB / 0.8119 GB, free: 33.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.7502, allocations: 429.6 kB / 0.8123 GB, free: 33.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.7504, allocations: 0.7131 MB / 0.813 GB, free: 32.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.7504, allocations: 30.48 kB / 0.813 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.7504, allocations: 0 / 0.813 GB, free: 32.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.00751/0.7579, allocations: 3.378 MB / 0.8163 GB, free: 32.47 MB / 0.6544 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)