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.001169/0.001169, allocations: 104.9 kB / 16.41 MB, free: 6.492 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.001252/0.001252, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 285.2 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.867/0.867, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 95.86 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4002, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00521/0.4055, allocations: 4.05 MB / 0.7711 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4082, allocations: 2.418 MB / 0.7734 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.4083, allocations: 4 kB / 0.7734 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.4086, allocations: 47.67 kB / 0.7735 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.4089, allocations: 99.34 kB / 0.7736 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4103, allocations: 0.5292 MB / 0.7741 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.4107, allocations: 251.9 kB / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.4107, allocations: 21.53 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.411, allocations: 115.5 kB / 0.7745 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.4112, allocations: 95.66 kB / 0.7745 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.4112, allocations: 8 kB / 0.7746 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.4121, allocations: 455.3 kB / 0.775 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.4122, allocations: 43.83 kB / 0.775 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.4123, allocations: 83.59 kB / 0.7751 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.4132, allocations: 405.3 kB / 0.7755 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4132, allocations: 0 / 0.7755 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4132, allocations: 0 / 0.7755 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4132, allocations: 0 / 0.7755 GB, free: 11.29 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.0008441/0.4141, allocations: 0.5031 MB / 0.776 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4141, allocations: 12.03 kB / 0.776 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.4162, allocations: 176.5 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.4165, allocations: 216.1 kB / 0.7764 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4166, allocations: 8.703 kB / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.4166, allocations: 20.31 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.4172, allocations: 308.4 kB / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4173, allocations: 4 kB / 0.7767 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.4173, allocations: 12 kB / 0.7767 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.4173, allocations: 7.938 kB / 0.7767 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.418, allocations: 263.6 kB / 0.777 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.4196, allocations: 1.396 MB / 0.7783 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.4202, allocations: 186.5 kB / 0.7785 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4204, allocations: 80.81 kB / 0.7786 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4204, allocations: 7.938 kB / 0.7786 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4205, allocations: 38.56 kB / 0.7786 GB, free: 7.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.4205, allocations: 3.938 kB / 0.7786 GB, free: 7.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0007117/0.4212, allocations: 239.9 kB / 0.7789 GB, free: 7.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4213, allocations: 63.31 kB / 0.7789 GB, free: 7.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4214, allocations: 154.5 kB / 0.7791 GB, free: 7.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4214, allocations: 29.7 kB / 0.7791 GB, free: 7.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.4215, allocations: 124 kB / 0.7792 GB, free: 7.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.4216, allocations: 71.08 kB / 0.7793 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.4217, allocations: 41.94 kB / 0.7793 GB, free: 7.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4218, allocations: 330.8 kB / 0.7796 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.422, allocations: 68.42 kB / 0.7797 GB, free: 6.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4222, allocations: 142 kB / 0.7798 GB, free: 6.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.4227, allocations: 225.1 kB / 0.7801 GB, free: 6.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4227, allocations: 0 / 0.7801 GB, free: 6.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005396/0.4232, allocations: 260.2 kB / 0.7803 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4232, allocations: 8 kB / 0.7803 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4233, allocations: 0 / 0.7803 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4233, allocations: 4 kB / 0.7803 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.4236, allocations: 64.2 kB / 0.7804 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4237, allocations: 8 kB / 0.7804 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.4239, allocations: 35.67 kB / 0.7804 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.4239, allocations: 8 kB / 0.7804 GB, free: 5.855 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.0001192/0.4241, allocations: 137.7 kB / 0.7806 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.4241, allocations: 11.91 kB / 0.7806 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.4247, allocations: 226.5 kB / 0.7808 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4247, allocations: 3.984 kB / 0.7808 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4247, allocations: 4 kB / 0.7808 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4247, allocations: 4 kB / 0.7808 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.425, allocations: 241.4 kB / 0.781 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.425, allocations: 0 / 0.781 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.4253, allocations: 47.97 kB / 0.7811 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4253, allocations: 0 / 0.7811 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4254, allocations: 4 kB / 0.7811 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4254, allocations: 0 / 0.7811 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4254, allocations: 3.938 kB / 0.7811 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.4259, allocations: 301.7 kB / 0.7814 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.426, allocations: 108.8 kB / 0.7815 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4261, allocations: 0 / 0.7815 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.4263, allocations: 15.98 kB / 0.7815 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.4264, allocations: 19.94 kB / 0.7815 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.4264, allocations: 11.98 kB / 0.7815 GB, free: 4.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.4265, allocations: 115.2 kB / 0.7816 GB, free: 4.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4265, allocations: 0 / 0.7816 GB, free: 4.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003613/0.4269, allocations: 68.06 kB / 0.7817 GB, free: 4.453 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.0002164/0.4271, allocations: 142.3 kB / 0.7818 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.4276, allocations: 176.4 kB / 0.782 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4276, allocations: 4 kB / 0.782 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.4278, allocations: 91.88 kB / 0.7821 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4282, allocations: 51.88 kB / 0.7821 GB, free: 3.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.4292, allocations: 443 kB / 0.7826 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4295, allocations: 0.7173 MB / 0.7833 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4296, allocations: 27.42 kB / 0.7833 GB, free: 2.762 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4296, allocations: 0 / 0.7833 GB, free: 2.762 MB / 0.545 GB Notification: Performance of Templates: time 0.00515/0.4347, allocations: 2.958 MB / 0.7862 GB, free: 15.84 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)