Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001152/0.001152, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 291.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.884/0.884, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 91.86 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4032, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004582/0.4079, allocations: 4.042 MB / 0.7711 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.4102, allocations: 2.418 MB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.4103, allocations: 0 / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.4105, allocations: 55.66 kB / 0.7735 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.4108, allocations: 95.36 kB / 0.7736 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.4119, allocations: 0.5305 MB / 0.7741 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.4121, allocations: 255.9 kB / 0.7743 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.4122, allocations: 17.55 kB / 0.7743 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.4124, allocations: 115.5 kB / 0.7745 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.4125, allocations: 95.66 kB / 0.7745 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.4125, allocations: 8 kB / 0.7746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007026/0.4132, allocations: 455.2 kB / 0.775 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.4133, allocations: 39.88 kB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.4134, allocations: 87.59 kB / 0.7751 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.4139, allocations: 409.2 kB / 0.7755 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4139, allocations: 0 / 0.7755 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4139, allocations: 0 / 0.7755 GB, free: 11.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.4139, allocations: 0 / 0.7755 GB, free: 11.31 MB / 0.545 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.0006351/0.4146, allocations: 0.507 MB / 0.776 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.4146, allocations: 8.031 kB / 0.776 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.4165, allocations: 180.5 kB / 0.7762 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4168, allocations: 208.1 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.4168, allocations: 12.7 kB / 0.7764 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.4169, allocations: 16.38 kB / 0.7764 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.4175, allocations: 308.4 kB / 0.7767 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4175, allocations: 0 / 0.7767 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.4175, allocations: 16 kB / 0.7767 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.4175, allocations: 11.88 kB / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.4182, allocations: 263.6 kB / 0.777 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.4197, allocations: 1.392 MB / 0.7783 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.4204, allocations: 192.2 kB / 0.7785 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4206, allocations: 80.81 kB / 0.7786 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4207, allocations: 11.91 kB / 0.7786 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4207, allocations: 38.56 kB / 0.7786 GB, free: 7.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.4207, allocations: 0 / 0.7786 GB, free: 7.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0007654/0.4215, allocations: 244 kB / 0.7789 GB, free: 7.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4215, allocations: 59.31 kB / 0.7789 GB, free: 7.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4216, allocations: 157.5 kB / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.4217, allocations: 29.7 kB / 0.7791 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.4218, allocations: 124 kB / 0.7792 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.4218, allocations: 63.11 kB / 0.7793 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.4219, allocations: 45.92 kB / 0.7793 GB, free: 7.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.422, allocations: 326.8 kB / 0.7796 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.4222, allocations: 68.41 kB / 0.7797 GB, free: 6.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4225, allocations: 134.3 kB / 0.7798 GB, free: 6.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.4229, allocations: 233 kB / 0.7801 GB, free: 6.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4229, allocations: 0 / 0.7801 GB, free: 6.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005417/0.4235, allocations: 256.1 kB / 0.7803 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4235, allocations: 4 kB / 0.7803 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4235, allocations: 4 kB / 0.7803 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4235, allocations: 4 kB / 0.7803 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.4239, allocations: 60.2 kB / 0.7804 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4239, allocations: 11.94 kB / 0.7804 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.4241, allocations: 35.67 kB / 0.7804 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.4241, allocations: 8 kB / 0.7804 GB, free: 5.883 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001117/0.4242, allocations: 136.1 kB / 0.7806 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.4243, allocations: 11.91 kB / 0.7806 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.4249, allocations: 226.6 kB / 0.7808 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4249, allocations: 4 kB / 0.7808 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4249, allocations: 4 kB / 0.7808 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4249, allocations: 3.984 kB / 0.7808 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.4252, allocations: 241.4 kB / 0.781 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4252, allocations: 0 / 0.781 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4255, allocations: 55.89 kB / 0.7811 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4255, allocations: 0 / 0.7811 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4255, allocations: 0 / 0.7811 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4255, allocations: 4 kB / 0.7811 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4255, allocations: 0 / 0.7811 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.426, allocations: 297.3 kB / 0.7814 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.4261, allocations: 116.8 kB / 0.7815 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.4262, allocations: 0 / 0.7815 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4265, allocations: 19.98 kB / 0.7815 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.4265, allocations: 23.88 kB / 0.7815 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.4265, allocations: 8 kB / 0.7815 GB, free: 4.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.4266, allocations: 117.8 kB / 0.7816 GB, free: 4.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4266, allocations: 0 / 0.7816 GB, free: 4.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003403/0.4269, allocations: 64.12 kB / 0.7817 GB, free: 4.477 MB / 0.545 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001939/0.4271, allocations: 135.2 kB / 0.7818 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.4276, allocations: 176.4 kB / 0.782 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4277, allocations: 8 kB / 0.782 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4279, allocations: 83.89 kB / 0.7821 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4283, allocations: 51.89 kB / 0.7821 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.4292, allocations: 447.1 kB / 0.7826 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4295, allocations: 0.7134 MB / 0.7833 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4296, allocations: 27.42 kB / 0.7833 GB, free: 2.793 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4296, allocations: 0 / 0.7833 GB, free: 2.793 MB / 0.545 GB Notification: Performance of Templates: time 0.004194/0.4338, allocations: 2.947 MB / 0.7862 GB, free: 15.88 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)