Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001101/0.001101, allocations: 198 kB / 16.91 MB, free: 6.188 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 59.91 kB / 0.4945 GB, free: 3.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4014, allocations: 78.69 MB / 0.5713 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00747/0.409, allocations: 3.326 MB / 0.5746 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.4092, allocations: 54.27 kB / 0.5746 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.4092, allocations: 1.375 kB / 0.5746 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.4094, allocations: 1.797 kB / 0.5746 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4095, allocations: 14.02 kB / 0.5746 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.4105, allocations: 171.6 kB / 0.5748 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.4106, allocations: 33.64 kB / 0.5748 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.4107, allocations: 2.922 kB / 0.5748 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.4108, allocations: 19.41 kB / 0.5749 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.4109, allocations: 19.34 kB / 0.5749 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.4109, allocations: 1.5 kB / 0.5749 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.4114, allocations: 170.9 kB / 0.575 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.4115, allocations: 10.08 kB / 0.575 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.4115, allocations: 11.09 kB / 0.5751 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.412, allocations: 137 kB / 0.5752 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.412, allocations: 3.938 kB / 0.5752 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.412, allocations: 1.719 kB / 0.5752 GB, free: 28.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.412, allocations: 3.938 kB / 0.5752 GB, free: 28.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004499/0.4125, allocations: 345.3 kB / 0.5755 GB, free: 28.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4125, allocations: 10.97 kB / 0.5755 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.4126, allocations: 3.25 kB / 0.5755 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/0.4127, allocations: 162.3 kB / 0.5757 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.4128, allocations: 30.27 kB / 0.5757 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4128, allocations: 9.531 kB / 0.5757 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.413, allocations: 46.61 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.413, allocations: 1.906 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.413, allocations: 2.406 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.413, allocations: 1.562 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.4131, allocations: 12.47 kB / 0.5758 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.4138, allocations: 0.5887 MB / 0.5764 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.4139, allocations: 22.7 kB / 0.5764 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.4139, allocations: 6.922 kB / 0.5764 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.4142, allocations: 344.2 kB / 0.5767 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4142, allocations: 33.56 kB / 0.5768 GB, free: 27.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.4142, allocations: 0 / 0.5768 GB, free: 27.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.4144, allocations: 34.36 kB / 0.5768 GB, free: 26.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4145, allocations: 52.41 kB / 0.5768 GB, free: 26.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.4146, allocations: 111.2 kB / 0.5769 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4146, allocations: 27.7 kB / 0.577 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.4147, allocations: 90.28 kB / 0.5771 GB, free: 26.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.4147, allocations: 8.656 kB / 0.5771 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.4148, allocations: 14.48 kB / 0.5771 GB, free: 26.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.4149, allocations: 317.7 kB / 0.5774 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.4149, allocations: 3.703 kB / 0.5774 GB, free: 26.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.4149, allocations: 20.58 kB / 0.5774 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.415, allocations: 22.34 kB / 0.5774 GB, free: 26.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.415, allocations: 0 / 0.5774 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001178/0.4151, allocations: 47.77 kB / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4152, allocations: 7.562 kB / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4152, allocations: 1.375 kB / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4152, allocations: 0 / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.4153, allocations: 7.766 kB / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.4153, allocations: 0 / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.4154, allocations: 6.359 kB / 0.5775 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4154, allocations: 2.125 kB / 0.5775 GB, free: 26.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.586e-05/0.4155, allocations: 118.5 kB / 0.5776 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4156, allocations: 1.938 kB / 0.5776 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.4157, allocations: 123.9 kB / 0.5777 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.4157, allocations: 179.6 kB / 0.5779 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/0.4158, allocations: 186.7 kB / 0.5781 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.4158, allocations: 177.4 kB / 0.5782 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4161, allocations: 412.7 kB / 0.5786 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.4161, allocations: 107.6 kB / 0.5787 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.4161, allocations: 103.8 kB / 0.5788 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.495e-05/0.4162, allocations: 183.3 kB / 0.579 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4162, allocations: 176.8 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.4163, allocations: 183.7 kB / 0.5794 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-05/0.4163, allocations: 182.3 kB / 0.5795 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.922e-05/0.4164, allocations: 310.6 kB / 0.5798 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4165, allocations: 180.5 kB / 0.58 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.4165, allocations: 190.7 kB / 0.5802 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4168, allocations: 105.9 kB / 0.5803 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.4168, allocations: 182.8 kB / 0.5805 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.4169, allocations: 102 kB / 0.5806 GB, free: 22.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.417, allocations: 87.59 kB / 0.5806 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.417, allocations: 3.938 kB / 0.5806 GB, free: 22.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000547/0.4175, allocations: 38.41 kB / 0.5807 GB, free: 22.89 MB / 446.1 MB 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 (0): * Single equations (assignments): 0 * 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.0003697/0.4179, allocations: 241.8 kB / 0.5809 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.4181, allocations: 10.84 kB / 0.5809 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4181, allocations: 1.375 kB / 0.5809 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.4181, allocations: 0.6875 kB / 0.5809 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.4188, allocations: 469 kB / 0.5814 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.4192, allocations: 186.5 kB / 0.5816 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.4194, allocations: 0.6754 MB / 0.5822 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.35e-05/0.4195, allocations: 5.953 kB / 0.5822 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.4195, allocations: 10.44 kB / 0.5822 GB, free: 21.36 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4196, allocations: 1.375 kB / 0.5822 GB, free: 21.36 MB / 446.1 MB Notification: Performance of Templates: time 0.00624/0.4258, allocations: 1.209 MB / 0.5834 GB, free: 21.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)